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.

NotionRubyMapping.configure { |c| c.token = "secret_XXXXXXXXXXXXXXXXXXXX" } # write directly
NotionRubyMapping.configure { |c| c.token = ENV["NOTION_API_TOKEN"] } # from environment

</aside>

Database and page access sample

Append block children sample

update block sample

RichTextArray and RichTextObject sample

notionErDiagram Sample

notionSitemap sample

erdToNotionDb sample

NotionTimeRecorder & GTD template

Checklist for development of this tool

Class Diagram

ChangeLog