Getting started

To be able to use the web service/API of either GENESIS-Online, Regionaldatenbank or Zensus, you have to be a registered user of the respective database. You can create your user here, here, or here.

Once you have a registered user, you can use your username and password as credentials for authentication against the web service/API.

You can use pystatis with only one of the supported database or with all, it is simply about providing the right credentials. pystatis will only use databases for which you have provided credentials.

Please follow this guide to set up pystatis correctly.

All APIs provide a helloworld endpoint that can be used to check your credentials.

from pystatis.helloworld import logincheck

logincheck("genesis")

If everything worked out, your setup is complete and you can start downloading data.

For more details, please study the provided examples notebooks.