File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed
Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 1- # Notion-API-Python
1+ # Notion API Python
2+ ## Communicate with Notion API to retrieve data using Python
3+ ### Installation
4+ Open terminal and type the following
5+ ```
6+ git clone https://github.com/visheshdvivedi/Notion-API-Python
7+ ```
8+ Or you can directly download from this page\
9+ Once downloaded, go to the downloaded folder, open command prompt there and type\
10+ ```
11+ pip install -r requirements.txt
12+ ```
13+ ### Usage
14+ First open the database_id.txt and replace all the text with just your database ID\
15+ Similarly, open the integration_token.txt and replace all text with just your integration token\
16+ To check out the help message, type
17+ ```
18+ python main.py -h
19+ ```
20+ To retrieve data from the database
21+ ```
22+ python main.py -r
23+ ```
24+ To retrieve data from the database and save in 'data.json'
25+ ```
26+ python main.py -o 'data.json'
27+ ```
28+ To know how the script works, check out my blog:
29+ [ Click here] ( https://itsallaboutpython.blogspot.com/2021/05/create-undefeatable-tic-tac-toe-in.html )
30+
31+ To get more info, check out my
32+ Youtube: [ Click here] ( https://www.youtube.com/channel/UCggZvARaczWC4wc4E6f330w?sub_confirmation=1 )
33+ Instagram; [ Click here] ( http://instagram.com/itsallaboutpython )
34+ Blog-site: [ Click here] ( http://itsallaboutpython.blogspot.com/ )
You can’t perform that action at this time.
0 commit comments