Skip to content

Latest commit

 

History

History
36 lines (35 loc) · 1.28 KB

README.md

File metadata and controls

36 lines (35 loc) · 1.28 KB

Notion API Python

Communicate with Notion API to retrieve data using Python

Youtube Video

IMAGE ALT TEXT HERE

Installation

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

Usage

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