No description
Find a file
2023-08-24 20:02:51 +02:00
src/glsapi Fork pykeydelivery for glsapi 2023-08-24 20:02:51 +02:00
.gitignore Fork pykeydelivery for glsapi 2023-08-24 20:02:51 +02:00
.gitlab-ci.yml Fork pykeydelivery for glsapi 2023-08-24 20:02:51 +02:00
LICENSE Fork pykeydelivery for glsapi 2023-08-24 20:02:51 +02:00
pyproject.toml Fork pykeydelivery for glsapi 2023-08-24 20:02:51 +02:00
README.md Fork pykeydelivery for glsapi 2023-08-24 20:02:51 +02:00
test.py Fork pykeydelivery for glsapi 2023-08-24 20:02:51 +02:00

GLS REST API Python Client

This is a Python client for the GLS (https://gls-group.eu) REST API. It allows you to track your shipments.

It currently only supports package tracking, not any other API endpoints.

Installation

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

Usage

from glsapi import GLSAPI

api = GLSAPI()

carrier_options = api.detect_carrier("YOUR_SHIPMENT_NUMBER")

# Realtime tracking

tracking = api.tracking("YOUR_SHIPMENT_NUMBER")

License

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