Skip to content

itsallaboutpython/Notion-API-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages