An API client for the Notion API implemented in Golang
It supports all APIs for Notion API version 2022-02-22
$ go get github.com/jomei/notionapi Follow Notion’s getting started guide to obtain an Integration Token.
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 }