Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 349 Bytes

usage.md

File metadata and controls

27 lines (18 loc) · 349 Bytes

Usage

Client

Load the Notion Client

from notion import NotionClient

notion = NotionClient("secret_token")

Pages

Load a Page

page = client.get_page("some-page-id")
print(page.title)    

Edit some property of a Page

page.title = "pythonic-notion-playground-test"
print(page.title)