notion-sdk-py
notion-sdk-py copied to clipboard
The official Notion API client library, but rewritten in Python! (sync + async)
**October 4, 2021** ### Retrieve your token's bot user with GET /v1/users/me If you're using Notion API version `2021-08-16`, you can now retrieve information about the bot associated with your...
Hey thanks for the amazing library! I'm using notion sdk to create and modify pages and I find hard to write properties in the right format as explained in Notion...
When I use the sync client like below ``` from notion_client import Client self.notion_token = notion_token or os.environ.get("NOTION_TOKEN") self.notion_client = Client(auth=self.notion_token) response = self.notion_client.search( filter={"property": "object", "value": "page"}, start_cursor=cursor, )...
Add output (and maybe input) types to response (requests). For details, please see: https://github.com/ramnes/notion-sdk-py/issues/199 How to achive this: - use generic to distinguish client of Endpoint instance between `Client` and...