Current repository

GitHub - hkob/notion_ruby_mapping: Notion to Ruby object mapping tool

RubyGem

notion_ruby_mapping | RubyGems.org | your community gem host

API reference

Notion Ruby Mapping Public API reference

Use case

<aside> 💡 Please create a client before you use the following class.

NotionCache.instance.create_client "secret_XXXXXXXXXXXXXXXXXXXX" # write directly
NotionCache.instance.create_client ENV["NOTION_API_TOKEN"] # from environment

</aside>

Database and page access sample

Append block children sample

update block sample

RichTextArray and RichTextObject sample

Checklist for development of this tool

Class Diagram

ChangeLog