notion-df
notion-df copied to clipboard
Seamlessly Connecting Notion Database with Python Pandas DataFrame
https://github.com/lolipopshock/notion-df/blob/f6ef35e0ce71f8eb6e82b9c06b5d42706836e3bb/src/notion_df/agent.py#L42
https://developers.notion.com/reference/request-limits
The current way of saving notion_urls in notion_df is not perfect: ``` df.notion_urls = pd.Series([ele["url"] for ele in database_query_results]) df.notion_ids = pd.Series([ele["id"] for ele in database_query_results]) ``` For example, after...
In notion documentation, there are: - [Property Object](https://developers.notion.com/reference/property-object) - XXX Confinguration - [Property Value Object](https://developers.notion.com/reference/property-value-object) - XXX property values - [XX Object] - User Object ... - File Object...
Now the [`UserObject`](https://github.com/lolipopshock/notion-df/blob/21c45e9af895c01e6b8a9940ba0d74c94c79b450/src/notion_df/base.py#L125) just has very rudimentary functions ...
``` notion_client.errors.APIResponseError: body failed validation: body.properties.docket_text.title[0].text.content.length should be ≤ `2000`, instead was `2043`. ```
Currently when downloading an empty table, it will have no column information, which can cause errors for subsequent steps.