notion-tools 0.1.0

Notion API tools
Documentation

CircleCI Crates.io Version

notnion-tools

notion-tools is a collection of utilities designed to enhance your productivity with Notion. These tools provide additional functionalities and integrations that are not available out-of-the-box, making it easier to manage and automate your Notion workflows.

-> Document

Usage

To use this library, you need to set the NOTION_API_KEY and NOTION_DATABASE_ID environment variables. The NOTION_API_KEY is required for authentication, while the NOTION_DATABASE_ID is optional and can be set later using the database method.

Implemented endpoints

Endpoint Implemented Code
Create a Token -
Append block children Notion::append_block_children
Retrieve a block -
Retrieve block children -
Update a block -
Delete a block -
Create a page Notion::create_a_page
Retrieve a page -
Retrieve a page property item -
Update page properties Notion::update_a_page
Archive a page Notion::archive_a_page
Create a database -
Query a database Notion::query_database
Retrieve a database Notion::retrieve_a_database
Update a database -
List all users -
Retrieve a user -
Retrieve your token's bot user -
Create comment -
Retrieve comments -
Search by title -