Unofficial Sendy python API Wrapper
The wrapper provides convenient access to the Sendy Logistics API from applications written in server-side python.
Installation
pip install pysendyit
Usage
In order to run the demo, export the the following values to your environment. They can be found/generated at the API Dashboard.
export API_USERNAME="{your-api-username}"
export API_KEY="{your-api-key}"
export BASE_URL="{your-base-url}"
from pysendyit.pysendyit import Sendy
import os
# Creating an instance of the Sendy Class
sendy = Sendy(api_username=os.getenv('API_USERNAME'), api_key=os.getenv('API_KEY'), base_url=os.getenv('BASE_URL'))
# Printing response
print(sendy.track_or_cancel_delivery(command="track", order_no="AA2395374", request_token_id="request_token_id"))
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Sendy Logistics
Metadata
Release files for pysendyit 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pysendyit-0.1.2.tar.gz | 8.1 kB | Without provenance | Details for pysendyit-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pysendyit-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for pysendyit-0.1.2-py3-none-any.whl |
Total release size: 16.9 kB
Release files / pysendyit-0.1.2.tar.gz
| Download URL | pysendyit-0.1.2.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1641d857a1931b4187125f13c9214d9f370b753f45c50260c1cedfe5eb5a58b
|
|
BLAKE2b-256 checksum How to use checksums |
1dd5829a5904d8b0ff5812676e800ad221f8e804689c0e8140b9e896bfd493bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Release files / pysendyit-0.1.2-py3-none-any.whl
| Download URL | pysendyit-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
736fe818a7dec6eb237c77444eadbab120c94185baefef7ad9fe07c062ea41a8
|
|
BLAKE2b-256 checksum How to use checksums |
38fc7ccc1cf98277ac75a104fc290fabcb59ca5bc042cf2cbba8b68cd28782ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Security for pysendyit 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.