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.
Installation is done using the go get
command:
go get github.com/fj-onathan/blotion
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)
}
Under development.