Python Implementation of Deutsche Post Internetmarke Online Franking
Go to file
Harald Welte 2482fd13cf Add inema.am_exchange module for DPAG AM.exchange
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.
2019-06-03 07:34:09 +00:00
examples Fix company addresses with contact person 2016-12-13 14:08:29 +01:00
inema Add inema.am_exchange module for DPAG AM.exchange 2019-06-03 07:34:09 +00:00
.gitignore initial import of code 2016-07-14 01:32:12 +02:00
LICENSE initial import of code 2016-07-14 01:32:12 +02:00
Makefile initial import of code 2016-07-14 01:32:12 +02:00
README.rst Add actual content to README.rst 2016-07-24 12:56:03 +02:00
setup.cfg initial import of code 2016-07-14 01:32:12 +02:00
setup.py Add inema.am_exchange module for DPAG AM.exchange 2019-06-03 07:34:09 +00:00

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.