With this code you can transform a Notion database into a Pandas dataframe.
To create a new instance of the NotionDatabase class, you have to provide two parameters:
- The internal integration token: A tutorial on how an integration is created and how your database is shared with your integration can be found here(Step 1+2).
- The database ID: A detailed description on where to find the ID can also be found here(Step 2).