Go BSD-2-Clause

notionapi

A Notion API SDK, written in Golang

J

jomei

Dernière activité 7 août 2026
jomei/notionapi

573

étoiles

86

forks

16

issues ouvertes

gogolangnotionnotion-api

Ce README est souvent en anglais.

notionapi

GitHub tag (latest SemVer) Go Reference Test

This is a Golang implementation of an API client for the Notion API.

Supported APIs

It supports all APIs of the Notion API version 2022-06-28.

Installation

go get github.com/jomei/notionapi

Usage

First, please follow the Getting Started Guide to obtain an integration token.

Initialization

Import this library and initialize the API client using the obtained integration token.

import "github.com/jomei/notionapi"

client := notionapi.NewClient("your_integration_token")

Calling the API

You can use the methods of the initialized client to call the Notion API. Here is an example of how to retrieve a page:

page, err := client.Page.Get(context.Background(), "your_page_id")
if err != nil {
    // Handle the error
}

Projets similaires

Unofficial Go API for Notion.so

Go
Kkjk
1,8 k étoiles83

Unofficial Python API client for Notion.so

Python
Jjamalex
4,4 k étoiles471

The official Go library for the OpenAI API

Go
Oopenai
3,5 k étoiles350