La Poste SDK
LaPosteSDK is a Python client library to work with La Poste API
Installation
pip install lapostesdk
Requirements
requests
Dev requirements
responses
Configuration
from lapostesdk.laposteapi import LaPosteApi
api = LaPosteApi(api_key='YourApiKey')
Test suite
python -m unittest test
Apis
ControlAdresse
Address look up
response = api.controladresse.search('116 avenue du Président Kennedy 75220 Paris Cedex 16')
Address details
adresse = api.controladresse.get(‘adresses/12280852’) print adresse.codePostal
Suivi
The Suivi Api
suivi = api.suivi.get('1111111111111')
print suivi.status
Metadata
Release files for lapostesdk 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lapostesdk-0.1.3.tar.gz | 2.8 kB | Without provenance | Details for lapostesdk-0.1.3.tar.gz |
Release files / lapostesdk-0.1.3.tar.gz
| Download URL | lapostesdk-0.1.3.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0779449d124c1a8acba861a4a4ff15fe376cb7c42c45b4695993c563ac7281a4
|
|
BLAKE2b-256 checksum How to use checksums |
75e2f7653cd657cced87e5841f04c56118cfdcfc252802a5de2ff4fbe899ce45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for lapostesdk 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.