Harald Welte
2482fd13cf
In their infinite wisdom, DPAG decided to require electronic advance information about international shipments of goods ("Warenpost International") but not offer that through the same API that one uses to purchase the franking/postage ("Internetmarke API"). Instead, on has to implement talking to a completely different API called AM.exchange. That API seems to be designed for really large-scale customers to register mass mailings, distribution of magazines, etc. To make things even more exciting, accessing that AM.exchange API requires new user credentials, concluding new contracts,... This commit adds the bulk of the functionality required to talk to AM.exchange to provide customs-related information about shipments. Contrary to Internetmarke-API, AM.exchange doesn't appear to be hosting the WSDL definitions of its interface anywhere publicly. So instead, we have to ship the WSDL files together with python-inema. |
||
---|---|---|
examples | ||
inema | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.rst | ||
setup.cfg | ||
setup.py |
README.rst
This is a python module for interfacing the "Internetmarke" API provided by the German postal company "Deutsche Post". It implements V3 of this API. The Internetmarke API allwos you to buy online franking for national and international postal products like post cardsd and letters of all weight classes and service classes (normal, registered, ...). In order to use this module, you will need to be registered with Deutsche Post for accessing the "1C4A Webservice". You can request related details from pcf-1click@deutschepost.de. Upon registration, you will recevie your individual parameters PARTNER_ID, KEY and KEY_PHASE. Furthermore, for actual payment of purchases made via this API, you will need the user name (email address) and password to a "Portokasse" acount. This module makes use of the farily new "zeep" module for SOAP/WSDL.