A python API wrapper for Postnord tracking
Project description
PostnordAPI
✨ Features
PostnordAPI allows you to query tracking information for shipments from Postnord, such as:
- Current status
- Events
- Delivery location
- Package size and weight
- Notification types
...and much more, without providing API key.
🧑💻️ Install
PostnordAPI is available on PyPI.
pip install postnord-api
💁♀️ Usage
>>> from postnord_api import PostnordAPI
>>> response = PostnordAPI("123456789SE").get()
>>> print(response)
{
"shipmentId":"123456789SE",
[...]
"items":[
{
"itemId":"123456789SE",
"deliveryInformation":{
"deliveryTo":"YOUR TOBAKSKIOSK",
"deliveryToInfo":"Paketet kommer att levereras till servicestället där det kan hämtas upp. Vi meddelar dig när paketet är redo för upphämtning."
},
"events":[
{
"eventDescription":"Vi har fått en beställning på en leverans till dig. Spårningsinformationen uppdateras när försändelsen har ankommit till PostNord.",
"eventTime":"2024-10-07T13:45:42.000Z",
"status":"INFORMED",
"location":{
"name":"PostNord"
}
},
[...]
}
]
}
📝 Notes
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
postnord_api-0.0.1.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file postnord_api-0.0.1.tar.gz.
File metadata
- Download URL: postnord_api-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.9 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a29d37cf15b3b96cde6b59204da236919d272b593e831af4a69197d839bd5c2
|
|
| MD5 |
a636c05b49a6a82965c64dac860f7308
|
|
| BLAKE2b-256 |
d49ecd653b90fa52db7c11ddd4656cd202cec8748aa4c095e029b481b12c0ba8
|
File details
Details for the file postnord_api-0.0.1-py3-none-any.whl.
File metadata
- Download URL: postnord_api-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.9 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68ed674c7c9dc3509c70a48c23f17be4c1a114ef2720ee44aba8e70be96707ff
|
|
| MD5 |
8c02b364be52f2944baa169dfa7a79c6
|
|
| BLAKE2b-256 |
e9ad1ffc5890f044f768e199e8e287040a45570a108986cbed15ad36d5efd881
|