notion-sdk-py
notion-sdk-py copied to clipboard
The official Notion API client library, but rewritten in Python! (sync + async)
This is WIP PR for #199. @ramnes, I just wanted to confirm whether this kind of an approach is fine or not. Also, I was thinking that instead of having...
I am trying to create a database, but I want _fields_ of the database to be ordered a specific way. Am I correct in my assumption that because API receives...
When running the first_project example -- I got the following errors when attempting to filter by name: * `httpx.HTTPStatusError: Client error '400 Bad Request'` * `notion_client.errors.APIResponseError: body failed validation. Fix...
Hey @ramnes, Thanks for the great module! Adding `in_trash` to the list in the line referenced below should do the trick: https://github.com/ramnes/notion-sdk-py/blob/d5e5f5c98ae5578ce4b0130b65ad6e8f9e92e02b/notion_client/api_endpoints.py#L235 Merci !
Most of the development / maintenance of this package is tied to [Notion API changelog](https://developers.notion.com/page/changelog). I already receive a notification every time a change happens in notion-sdk-js (watch [ramnes/notion-sdk-js](https://github.com/ramnes/notion-sdk-js) if...
`result = notion.blocks.children.append(block_id=page['id'], children=children, after=page['id'])` What should I pass for the "after" parameter? Is there any possibility of going to a page that already has content and inserting a first...
We need to port this PR: https://github.com/makenotion/notion-sdk-js/pull/565
Hi, I'm unable to work with this API. I'm starting with a few tests. For example this code ` from notion_client import Client NOTION_TOKEN = 'ntn_XXXXXXXXXXXXXXXXXXX' DATABASE_ID = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' notion...
OAuth revoke and introspect endpoints got added to the JS SDK: https://github.com/makenotion/notion-sdk-js/pull/552 Let's add them here as well. :)
As described in Issue #260, > OAuth revoke and introspect endpoints got added to the JS SDK: https://github.com/makenotion/notion-sdk-js/pull/552 This PR adds that functionality to this SDK.