A CRM integration module with VTP
Project description
CRM Module VTP
A CRM module for VTP.
Installation
You can install the package using pip:
pip install crm_module_vtp
Usage
Initialize the Client
You can initialize the client using either a username and password or an account token.
Using Username and Password
from crm_module_vtp.client import VTPClient
VTPclient = VTPClient(username="your_username", password="your_password")
token = VTPclient.get_token()
Using Account Token
from crm_module_vtp.client import VTPClient
VTPclient = VTPClient(account_token="your_account_token")
token = VTPclient.get_token()
Get Services
You can use the client to get services by providing the necessary service data.
service_data = {
"SENDER_ADDRESS": "Đại Mỗ, Nam Từ Liêm, Hà Nội",
"RECEIVER_ADDRESS": "Định Công, Hoàng Mai, Hà Nội",
"RECEIVER_PROVINCE": 1,
"PRODUCT_TYPE": "HH",
"PRODUCT_WEIGHT": 100,
"PRODUCT_PRICE": 5000000,
"MONEY_COLLECTION": "5000000",
"PRODUCT_LENGTH": 0,
"PRODUCT_WIDTH": 0,
"PRODUCT_HEIGHT": 0,
"TYPE": 1,
}
response = VTPclient.get_services(service_data)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crm_module_vtp-0.1.0.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crm_module_vtp-0.1.0.tar.gz.
File metadata
- Download URL: crm_module_vtp-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0c213bc5fb3563fd846bd8fc2702b3f2a3457d9a17d26dad63a187d61654b9a
|
|
| MD5 |
fef150cf69e2fecaee21d8e444465c36
|
|
| BLAKE2b-256 |
50da0c76e624e87e7ca1d3700be1ed674e7fb9044bc70f7836506e68c83626c6
|
File details
Details for the file crm_module_vtp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: crm_module_vtp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f29c3e3b106c260b004b1d0eab68b681da8cc87c111877b11c864d0a1a19290
|
|
| MD5 |
778363d1407494876944bf31b40cd948
|
|
| BLAKE2b-256 |
f1701bc16baf53a86bd2c6779c32bff50aa71c992952678565026fc74386deef
|