No description
Find a file
Kumi fbb1a9d46c
Add test for listing carriers and assert that at least one carrier has a code equal to "gls".
- Add test for listing carriers
- Assert that at least one carrier has a code equal to "gls"
2023-08-31 09:03:57 +02:00
src/pykeydelivery Update pyproject.toml and KeyDelivery class methods 2023-08-31 07:56:37 +02:00
.gitignore Update .gitignore: Add "dist/" to ignore list 2023-08-25 08:04:57 +02:00
.gitlab-ci.yml Fix .gitlab-ci.yml 2023-08-25 08:03:17 +02:00
config.dist.ini Current status 2023-08-16 11:28:38 +02:00
LICENSE Current status 2023-08-16 11:28:38 +02:00
pyproject.toml Update pyproject.toml and KeyDelivery class methods 2023-08-31 07:56:37 +02:00
README.md Current status 2023-08-16 11:28:38 +02:00
test.py Add test for listing carriers and assert that at least one carrier has a code equal to "gls". 2023-08-31 09:03:57 +02:00

KeyDelivery API Python Client

This is a Python client for the KeyDelivery API. It is a wrapper around the KeyDelivery API, which allows you to track your shipments.

It is not fully featured yet, but it is a good starting point.

Installation

pip install git+https://kumig.it/kumitterer/pykeydelivery

Usage

from keydelivery import KeyDelivery

api = KeyDelivery("YOUR_API_KEY", "YOUR_API_SECRET")

# Find carrier by shipment number

carrier_options = api.detect_carrier("YOUR_SHIPMENT_NUMBER")

# Realtime tracking

tracking = api.realtime("CARRIER_CODE", "YOUR_SHIPMENT_NUMBER")

License

This project is licensed under the MIT License - see the LICENSE file for details.