Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
SendCloud
Unofficial Python Library
This is a Python library that provides a simple way to communicate with the Sendcloud API.
Installation
pip install sendcloud-python
Example
import sendcloud
from sendcloud.classes import Parcels
sendcloud.API_KEY = "TEST_KEY"
sendcloud.API_SECRET = "TEST_SECRET"
parcels = Parcels().get_parcels()
new_parcel_data = {
"parcel": {
"name": "John Doe",
"company_name": "Sendcloud",
"address": "Insulindelaan 115",
"house_number": "115",
"city": "Eindhoven",
"postal_code": "5642CV",
"telephone": "+31612345678",
"request_label": True,
"email": "john@doe.com",
"data": [],
"country": "NL",
"shipment": {"id": 8,},
"weight": "10.000",
"order_number": "1234567890",
"insured_value": 2000,
}
}
parcel = Parcels().create_parcel(new_parcel_data)
Develop Mode
For Testing you need to install project in develop mode
pip install -e .[develop] and start this command python setup.py test
Release files for sendcloud-python 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sendcloud_python-0.1.5.tar.gz | 11.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sendcloud_python-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.4 kB
Release files / sendcloud_python-0.1.5.tar.gz
| Download URL | sendcloud_python-0.1.5.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
032df4e148a59ce9ae11b6db551294dcb8ea67c71b4526214380b7447868c07b
|
|
BLAKE2b-256 checksum How to use checksums |
6b79c2b4b411bc4edd8eee86c898cb37b059346c2098eaa7eb01547c6d61c66f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / sendcloud_python-0.1.5-py3-none-any.whl
| Download URL | sendcloud_python-0.1.5-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ce0e65991c1a5de129b0a74343e683513d6d637d0ca31771272892fb840e70f
|
|
BLAKE2b-256 checksum How to use checksums |
631add90bed21b0f53f939acffc78b10a5335a1101a2a82b17e79c3278fc4a0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|