inema.soapfree module¶
Compatibility wrapper that translates Internermarke SOAP API calls to REST ones.
Use case: You have existing software that interfaces with the Deutsche Post
Internetmarke SOAP API via the inema.inema.Internetmarke class, you
need to upgrade to the new Deutsche Post Internetmarke REST API (because the
SOAP endpoints are announced to be turned off at the end of 2025) and you want
to change your existing software as little as possible.
In the best case you just need to register for the new REST API, link your Portokasse in Deutsche Post Web UI, update your credentials configuration and adjust your import like this:
from inema import Internetmarke
to something like this:
from inema.soapfree import Internetmarke
See also frank.py in the python-inema repository (around 2025-09-21) for a real world example.
Of course, depending on your existing usage, directly migrating to the new REST
API via inema.rest likely isn’t that complicated, either.