OpenEnergyPlatform / open-MaStR

A collaborative software to download the energy database Marktstammdatenregister (MaStR)

Home Page:https://open-mastr.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Identify as open-mastr package when requesting data from marktstammdatenregister.de

FlorianK13 opened this issue · comments

We could add a small identification in the request header to identify as python package user when the data is requested from BNetzA.

This should be done setting by setting a User-Agent like open-mastr/x.x requests/y.y python/z.z in the requests call and similar to the header in:
https://github.com/OpenEnergyPlatform/open-MaStR/blob/production/open_mastr/xml_download/utils_download_bulk.py#L125

@maurerle I also think this is the right approach. Due to limited resources this was not done yet. If you wish to contribute we are always happy about Pull Requests :)

Don't know what went wrong, as the merged PR #526 stated
closes #489 - but it did not close this issue when merged 🤷

Can you close it @FlorianK13 ?