Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/watchakorn-18k/flet-notion-with-python
🔠Notion-Flet API demo on Github
https://github.com/watchakorn-18k/flet-notion-with-python
api flet gui notion-api notion-database python python-script python3
Last synced: about 1 month ago
JSON representation
🔠Notion-Flet API demo on Github
- Host: GitHub
- URL: https://github.com/watchakorn-18k/flet-notion-with-python
- Owner: watchakorn-18k
- Created: 2023-02-24T06:52:44.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-05T18:17:37.000Z (12 months ago)
- Last Synced: 2024-11-12T05:15:57.089Z (3 months ago)
- Topics: api, flet, gui, notion-api, notion-database, python, python-script, python3
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Flet notion python
![]()
✨ Inspiration from [Python Tutorial UI Design Using Flet - Line Indent](https://youtu.be/JJCjAUmNXBs)
I've attempted to implement Notion as a database, then use an api to connect to fetch data from Notion and display it on Flet, a Python-programmable flutter GUI module.
# Install
```
git clone https://github.com/watchakorn-18k/flet-notion-python
cd flet-notion-python
pip install -r requirements.txt
```
# Settings
- Add token from [notion.so/my-integrations](https://www.notion.so/my-integrations) then put to `token.json`
- Add table follow here
```
| income | client-name |
```
```json
{
"token": ""
}
```- change databaseId
```py
databaseId = "abc69f13662d4c3dbda6053da5555b8c"
```
# Run
```
flet ui.py
```# Build
```
pyinstaller ui.space
```This is merely an illustration of how to use notion's api with flet. You may attempt to fix a lot of mistakes. -- wk-18k 2023