Using notionapi with notion.com

Go integration

Install
go get github.com/jomei/notionapi
Quick start
import "notionapi"

// Initialize client
client := notionapi.NewClient("YOUR_API_KEY")
Retrieve comments
curl \
  https://api.notion.com/v1/comments
Retrieve a Page
curl \
  https://api.notion.com/v1/pages/{id}
Retrieve a user
curl \
  https://api.notion.com/v1/users/{id}
SDK on GitHub 📄 API Docs
SDK
notionapi
Go
API
notion.com
notion.com
At a glance
Language Go
Endpoints13
Base URLhttps://api.notion.com