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
- 0.0.3 add
df_columns_add_prefix_for_database
to enforce database columns order - 0.0.4
table_df()
add options pass to notion API control row/column headers
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.4.tar.gz
(11.5 kB
view hashes)
Built Distribution
Close
Hashes for notion_params-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bd4189894972b7a0fdddd560385cc5b961c4a95188d99854d98db784dd4caee |
|
MD5 | f31f2f05cd736d52bfb060378fbe4bf1 |
|
BLAKE2b-256 | 793180b57aa9845accebf1a36a2d6873176fa0de79754aab765fadea762c9158 |