La Poste SDK
Project description
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
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
lapostesdk-0.1.2.tar.gz
(2.7 kB
view hashes)