notion-py icon indicating copy to clipboard operation
notion-py copied to clipboard

Unofficial Python API client for Notion.so

Results 105 notion-py issues
Sort by recently updated
recently updated
newest added

Sorry to disturb you. When I try the example code. client = NotionClient(token_v2="") page = client.get_block("") Then, it came out the error that: Traceback (most recent call last): File "D:\program...

Retrieves the S3 url from the notion record and uses it to download the media file attached to a block

Getting the following error when trying to load a database; I saw #385 #389 with similar issues, but this happens to me when trying to use `client.get_collection`. I noticed the...

The Notion app has three main headings on the left side-panel: Workspace, Shared, and Private. I'm able to get all the pages in Workspace and Private by calling `client.get_top_level_pages()`. However,...

Hi team, Thanks for developing this awesome toolkit! I need to search for a page tile across all my pages and retrieve the best matching page titles (e.g. top 5)....

Hey I'm fairly certain somebody has mentioned this before but I can't find the issue, Since the Notion pseudo "API" requests restrict this API to 100 results it's difficult to...

```Traceback (most recent call last): File "/Users/noahbuttner/Documents/rover/rover/slackenv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions yield File "/Users/noahbuttner/Documents/rover/rover/slackenv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 126, in read return self._sock.recv(max_bytes) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/Cellar/[email protected]/3.12.0/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1234, in recv return self.read(buflen) ^^^^^^^^^^^^^^^^^...

Hello, As part of a [module ](https://github.com/thomashirtz/notion-clear-trash)to clear deleted pages, this piece of code was working fine previously, however [now](https://github.com/thomashirtz/notion-clear-trash/issues/1) it generates an 400 HTTP Error. ``` query = {...

This worked before but since maybe 2 months ago, it started showing this error message. Notion APi HTTPError: 403 Client Error: Forbidden for url: https://www.notion.so/api/v3/getUploadFileUrl Does anyone know how to...