Laravel Notion API is an awesome package that provides a simple and crisp way to access the Notion API endpoints, query data, and update existing entries. The Notion API requires an access token and a Notion integration, the Notion documentation explains how this works. It's important to grant access to the integration within your Notion account to enable API access. Add your Notion API token to your.env file: Basic Usage
// Returns a collection of pages and databases of your workspace (included in your integration-token) \Notion::search($searchText) ->query() ->asCollection(); Query Database