Closed bergnerjonas closed 2 months ago
Current workaround: manually configure ~/.pystatis/config.ini:
[zensus]
base_url = https://ergebnisse.zensus2022.de/api/rest/2020/
username =
=> Note that one needs to register a new account under https://ergebnisse.zensus2022.de/datenbank/online/
There is a second way by deleting your config, easiest with pystatis.config.delete_config(). Next time you import pystatis it will create a new default config with the updated base url. After we publish a new release. Or manually deleting it, of course. If you have a . Env file with your credentials a single call to setup_credentials refills everything.
The new zensus 2022 data release started: https://ergebnisse.zensus2022.de/datenbank/online The new documentation can be found here: https://ergebnisse.zensus2022.de/datenbank/online/docs/ZENSUS-Webservices_Einfuehrung.pdf Tasks: