Skip to main content

Simple Python wrapper to fetch data from Austrian Post (post.at)

Project description

Python wrapper for Austrian Post web services

This is a Python wrapper for web services provided by Austrian Post.

Currently, it only supports looking up shipment details by tracking number.

Groundwork for services requiring authentication is laid out, but not working yet. If you want to contribute, please feel free to do so.

Installation

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

Usage

from postat.classes.api import PostAPI

api = PostAPI()

# Get shipment details

shipment_details = api.get_shipment_details("123456789012345678901234567890")

shipment = shipment["data"]["einzelsendung"]

# Get latest event

latest_event = shipment["sendungsEvents"][-1]

License

This project is licensed under the MIT License. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

postat-0.9.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

postat-0.9.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file postat-0.9.0.tar.gz.

File metadata

  • Download URL: postat-0.9.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for postat-0.9.0.tar.gz
Algorithm Hash digest
SHA256 c8da769aef1f6ebf9021e10e064db104d2827cfae80e25def278e5d724f9cf17
MD5 7c80f070414f89d9c4cc861613204c5b
BLAKE2b-256 b60a1bbf7e70d9946e8b331ade3ed3bd3c8d5acad31669c1ee112cf61b91fe08

See more details on using hashes here.

File details

Details for the file postat-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: postat-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for postat-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc93afdee231db6cd13b2f03364c4a144111b107403b54b1c0c21c75acd9c736
MD5 111a02d47d23ae9e8ea3a1147ed15bc7
BLAKE2b-256 0ceadb4f0d2161d7549eb36bff73c7ce9aea2651b29d306be48f5f296596b4cd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page