notionapi
An API client for the Notion API implemented in Golang
Supported APIs
It supports all APIs for Notion API version 2021-08-16
Installation
$ go get github.com/jomei/notionapi
Getting started
Follow Notion’s getting started guide to obtain an Integration Token.
Example
Make a new Client
import "github.com/jomei/notionapi"
client := notionapi.NewClient("your-integration-token")
Then, use client's methods to retrieve or update your content
page, err := client.Page.Get(context.Background(), "your-page-id")
if err != nil {
// do something
}