Current repository

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


notion_ruby_mapping | | 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


Database and page access sample

Append block children sample

update block sample

RichTextArray and RichTextObject sample

Checklist for development of this tool

Class Diagram