Open terminal and type the following
git clone https://github.com/visheshdvivedi/Notion-API-Python
Or you can directly download from this page
Once downloaded, go to the downloaded folder, open command prompt there and type\
pip install -r requirements.txt
First open the database_id.txt and replace all the text with just your database ID
Similarly, open the integration_token.txt and replace all text with just your integration token
To check out the help message, type
python main.py -h
To retrieve data from the database
python main.py -r
To retrieve data from the database and save in 'data.json'
python main.py -o 'data.json'
To know how the script works, check out my blog: Click here
To get more info, check out my Youtube: Click here Instagram; Click here Blog-site: Click here