https://github.com/jamalex/notion-py

https://github.com/jamalex/notion-py

<aside> 💡 notion_py 라이브러리 사용법 숙지 🥅  GOAL: notion 페이지 자동화 (논문 크롤링 및 자산관리 자동화)

</aside>

https://github.com/jamalex/notion-py

pip3 install notion
from notion.client import NotionClient

# Obtain the `token_v2` value by inspecting your browser cookies on a logged-in (non-guest) session on Notion.so
client = NotionClient(token_v2="<token_v2>")

# Replace this URL with the URL of the page you want to edit
page = client.get_block("<url>")

print("The old title is:", page.title)

# Note: You can use Markdown! We convert on-the-fly to Notion's internal formatted text data structure.
page.title = "The title has now changed, and has *live-updated* in the browser!"

Google Scholar PyPI

Arxiv API