Sha256: 3ddb0acb8934dd162557f7f2025b1ce1ca59c62b88b7c2ce6b0f4033511254e5
Contents?: true
Size: 966 Bytes
Versions: 3
Compression:
Stored size: 966 Bytes
Contents
# Notion Ruby Client A Ruby client for the Notion API. ## Table of Contents - [Installation](#installation) - [Usage](#usage) - [Create a New Bot Integration](#create-a-new-bot-integration) - [Declare the API Token](#declare-the-api-token) - [API Client](#api-client) ## 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) 1. Log into the workspace that you want your integration to be associated with. 2. Confirm that you are an Admin in the workspace (see Settings & Members > Members). 3. Go to Settings & Members, and click API ![A screenshot of the Notion page to create a bot](screenshots/create_notion_bot.png) ### Declare the API token ``` Notion.configure do |config| config.token = ENV['NOTION_API_TOKEN'] end ``` ### API Client TODO: document endpoints
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
notion-ruby-client-0.0.3 | README.md |
notion-ruby-client-0.0.2 | README.md |
notion-ruby-client-0.0.1 | README.md |