Simple Python wrapper to fetch data from GLS (gls-group.eu)
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
glsapi-0.9.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
glsapi-0.9.0-py3-none-any.whl
(4.2 kB
view hashes)