ramnes / notion-sdk-py

The official Notion API client library, but rewritten in Python! (sync + async)
https://ramnes.github.io/notion-sdk-py
MIT License
1.8k stars 141 forks source link

Alternative for `DatabasesEndpoint.list()` #216

Closed baniasbaabe closed 11 months ago

baniasbaabe commented 11 months ago

Since DatabasesEndpoint.list() is deprecated, are there any other ways to query all available databases?

ramnes commented 11 months ago

Search pages for more details

This endpoint is deprecated and is only available on API version "2021-08-16" and earlier. Use the Search API instead. This endpoint will only return explicitly shared databases, while search will also return child pages. This endpoint's results cannot be filtered, while search can be used to match on page title.

https://developers.notion.com/reference/get-databases