Skip to content

πŸ‘¨β€πŸš€ Reverse Notion API to extract content from pages (and tables).

Notifications You must be signed in to change notification settings

fj-onathan/blotion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Blotion

This package is a reverse API for Notion. Write your content in Notion, and use it to read your content.

⚠️️ Note: Blotion is under development, use it carefully.

Table of Contents

βš™οΈ Installation

Installation is done using the go get command:

go get github.com/fj-onathan/blotion

πŸ“ Extract Table

Get all content registered on table and organize it on JSON retrieve.

package main

import (
	blotion "github.com/fj-onathan/blotion"
    "fmt"
)

func main() {
	// ID of the Page who contains table
	PageID := "7c0af1f3ab1c4926bd11128892a174fe"
	
	// Return table list on JSON format
	TableList := blotion.ExportTable(PageID)	
	fmt.Printf("Table list in JSON %v \n", TableList)
}

πŸ“„ Read Page

Under development.

About

πŸ‘¨β€πŸš€ Reverse Notion API to extract content from pages (and tables).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages