Create packages to send using TIPSA API.
Project description
This package create packages to send using TIPSA API.
License
The package is released under the New BSD license.
Example of use
from tipsa import api
tipsa_api = api.TipsaAPI('agency_code', 'client_code', 'client_password')
tipsa_api.login() # Web service login
result = tipsa_api.create({
'service_code': 'service_code',
'destination_name': 'destination_name',
'destination_address': 'destination_address',
'destination_postal_code': 'destination_postal_code',
'destination_city': 'destination_city'
}) # Create a shipping
print result['albaran']
print result['guid']
print result['url'] # Url to check status
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tipsa-api-python-0.1.6.tar.gz
.
File metadata
- Download URL: tipsa-api-python-0.1.6.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b162299d258caceedfab0fd141b376c79485f9828752efb153fc5d73904c660 |
|
MD5 | 661c62ee4a4947be8396bfcbad6dd194 |
|
BLAKE2b-256 | e58cf046cc58d7b5736a3f142b874f1da27b90598031e46fba7d42612653de46 |