Helper to build Notion API params, parse markdown text into Notion API blocks
Project description
Introduction of notion-params
This is a helper to build Notion API params, parse markdown text into Notion API blocks, include a simple client support all APIs version '2022-02-22'.
Page can be created using markdown:
Table:
Database:
See more demos in sample.py: python sample.py {page_id}
where page_id is a notion page your token has permission to write. This sample code will create a sub page to show all the demos.
Change log
- 0.0.1 NotionParams and markdown parse
create_page
update_page
append_markdown
table_df
,table_df_rows
create_database
,create_database_row
find_child
- 0.0.2 add a simple client, change doc of NotionParams methods to match
- client.py support all APIs version 2022-02-22
- add sample.py show demos in a sample page
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
notion-params-0.0.2.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for notion_params-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 342753bdeb9b7fd8ea7761c1340f985aca6895edccf9fd0d7ae5cf29e6efcacb |
|
MD5 | 1649d688a3d194683a19b437c4c3fb26 |
|
BLAKE2b-256 | fbc171d095812c3c121779b346a39f884bb1be7a19628a5a714f42f8eb4dd334 |