notion-py
notion-py copied to clipboard
Unofficial Python API client for Notion.so
Recently I have been getting a notion.client.NotionValidationError: Invalid #input. error when trying to get_rows() from my collection view. Below is the code to illustrate: ``` from notion.client import NotionClient from...
Hi, I have a script that has been running for a while now and it stopped working yesterday evening. Here's the call: `notionClient.get_collection_view("{databaseURL}").collection.get_rows()` Here's the result: ``` ERROR:notion:Got 400 error...
I keep getting this error, could not find a way to solve it: Traceback (most recent call last): File "/Users/user/Desktop/ibb/development/notionpush/sync.py", line 81, in notion_update(data) File "/Users/user/Desktop/ibb/development/notionpush/sync.py", line 60, in notion_update...
Closes #304 This PR fixes `call_load_page_chunk()` by following the same pattern that the Go client uses: https://github.com/kjk/notionapi/blob/6e6cd02e33107cb0baa8c30f0229b0342ad08d3f/client.go#L299-L303 I've verified that the smoke tests pass successfully, and I checked that the...
I'm not super familiar with the nuts-and-bolts of `NotionClient`, but it seems like there's no support for Notion's Integration Tokens. Are there any plans to support this? I know that...
It seems that when there's a Relation to a record, and that record is then deleted, Notion keeps the ID of the deleted record in the Relation property, so it...
I'm finding that using the client as it is now, with the "limit" set to 10000 when fetching a block, I get an HTTP error "invalid input". https://github.com/jamalex/notion-py/blob/3533c012b421797ff0343ae955d37505b51500e8/notion/store.py#L280 By testing...
I'm trying to create some tables from a python script, however, whether I create it with specifying its schema or copying it from a pre-existing table (already created manually on...
I am trying to create a telegram-bot that will create notes in notion, for this i use: - [notion-py](https://github.com/jamalex/notion-py) - [pyTelegramBotAPI](https://github.com/eternnoir/pyTelegramBotAPI) then I connected my notion by adding token_v2, and...
# This, basically.  Thanks so much or maintaining this awesome repo =)