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
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file notion-util-0.0.1.tar.gz.
File metadata
- Download URL: notion-util-0.0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7324e1f8966d0544250d84ee91677da64f99ea7cdcd97a51b00e1196476c0850
|
|
| MD5 |
35b6055dbcc5f6fa7b5eadb15c074b60
|
|
| BLAKE2b-256 |
92d3ba83737ec72b7fe81088cadae43b53b6a89dad2d2c7c9e719d2c02922b78
|
File details
Details for the file notion_util-0.0.1-py3-none-any.whl.
File metadata
- Download URL: notion_util-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6430a9129a914fe4f1792635318245a18abe105753546e21aaf759110acc484b
|
|
| MD5 |
8157f1a3777215bb909da79280481066
|
|
| BLAKE2b-256 |
ff58e94aa8fe204b0cb04ff99b2d61ddb106dc991b24303479d938e0d5ba2ab5
|