Commit Graph

8 Commits

Author SHA1 Message Date
Georg Sauthoff 4e3818723c fix price comparision and latest column reordering
i.e. latest Deutsche Post update inserted some columns, thus using the
headers is more robust.
2020-12-05 13:44:35 +01:00
Georg Sauthoff 3e6e671f0d Add example: convert ppl_vXXX.csv to products.json 2019-11-22 18:33:34 +01:00
Georg Sauthoff 6ad0d4dadd Fix json UTF8 dumping in Python 2 2019-07-15 19:41:49 +02:00
Georg Sauthoff ed139e5b59 Port to Python3, canonicalize JSON, retain Umlauts 2019-07-14 15:31:03 +02:00
Henrik Genssen 896ac2abc0 Add ProductInformation() class and examples/products.py
This allows the user to re-generate (update) the price list in
products.json using ProdWS API, which is a separate API provided by DPAG
to obtain the product catalogue including pricing information.
2019-07-11 23:59:42 +08:00
Henrik Genssen 103c0f4059 Add coding/utf8 annotations to fix special characters for python 2.7 2019-07-11 23:59:42 +08:00
Harald Welte e464545a89 Fix company addresses with contact person
When using the build_comp_addr() method 'person' argument, we need
to pass in a PersonName object, and not a string name of the contact.

Add a public build_pers_name() method to produce that PersonName object,
and use it from the example code.
2016-12-13 14:08:29 +01:00
Harald Welte d679cc1d3d add example script on how to use python-inema 2016-07-24 12:37:29 +02:00