Notion Ruby Client
A Ruby client for the Notion API.
Table of Contents
Installation
Add to Gemfile.
gem 'notion-ruby-client'
Run bundle install.
Usage
Create a New Bot Integration
To integrate your bot with Notion, you must first create a new Notion Bot. (TODO: link to the docs)
- Log into the workspace that you want your integration to be associated with.
- Confirm that you are an Admin in the workspace (see Settings & Members > Members).
- Go to Settings & Members, and click API

Declare the API token
Notion.configure do |config|
config.token = ENV['NOTION_API_TOKEN']
end
API Client
TODO: document endpoints