Unofficial Python API client for Notion.so
Project description
Notion Util
このプロジェクトは、Notion.soの非公式Python APIクライアントです。 NotionページのMarkdown変換やNotion Databaseのcsv変換が可能です。
インストール
このパッケージをインストールするには、以下のコマンドを実行してください。
pip install notion-util
使い方
export NOTION_SECRET=secret_xxxxxxxxxxxx
from notion.util import get_page_markdown
# notion page url
url = "https://www.notion.so/xxxx"
# ページのブロックを取得
markdown_content = get_page_markdown(url, recursive=False)
print(markdown_content)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
notion-util-0.0.1.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for notion_util-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6430a9129a914fe4f1792635318245a18abe105753546e21aaf759110acc484b |
|
MD5 | 8157f1a3777215bb909da79280481066 |
|
BLAKE2b-256 | ff58e94aa8fe204b0cb04ff99b2d61ddb106dc991b24303479d938e0d5ba2ab5 |