All Projects → dstotijn → go-notion

dstotijn / go-notion

Licence: MIT license
Go client for the Notion API.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to go-notion

go-notion
Notion Official API Go Client.
Stars: ✭ 14 (-94.64%)
Mutual labels:  notion, notion-api
notion-sdk-py
Official Notion SDK rewritten in Python (sync + async)
Stars: ✭ 753 (+188.51%)
Mutual labels:  notion, notion-api
Notion-GCal-Sync
A Python script to automate the syncing of tasks between Google Calendar and the all-in-one productivity workspace, Notion. It utilizes API and is customizable for your own needs. Free to use.
Stars: ✭ 120 (-54.02%)
Mutual labels:  notion, notion-api
Notion-and-Google-Calendar-2-Way-Sync
2 Way Sync Between Notion Database and Google Calendar
Stars: ✭ 205 (-21.46%)
Mutual labels:  notion, notion-api
shellbear.me
Source code of my personal website and blog ✨
Stars: ✭ 177 (-32.18%)
Mutual labels:  notion, notion-api
notion-nextjs-blog
A starter blog template powered by Next.js, Notion and Tailwind CSS.
Stars: ✭ 25 (-90.42%)
Mutual labels:  notion, notion-api
notionproxy
Notion as a web site, inspired by react-notion-x.
Stars: ✭ 24 (-90.8%)
Mutual labels:  notion, notion-api
memegentino
Meme generator for Notion
Stars: ✭ 18 (-93.1%)
Mutual labels:  notion, notion-api
jahir.dev
My personal website 💎 – Built using Next.js, TypeScript, MDX, contentlayer, Notion and Stitches styled components
Stars: ✭ 119 (-54.41%)
Mutual labels:  notion, notion-api
notionapi
A Notion API SDK, written in Golang
Stars: ✭ 351 (+34.48%)
Mutual labels:  notion, notion-api
NotionSwift
Unofficial Notion API SDK for iOS & macOS
Stars: ✭ 49 (-81.23%)
Mutual labels:  notion, notion-api
notion-sdk-php
A complete Notion SDK for PHP developers.
Stars: ✭ 60 (-77.01%)
Mutual labels:  notion, notion-api
notion-scholar
Reference management solution using Python and Notion.
Stars: ✭ 77 (-70.5%)
Mutual labels:  notion, notion-api
cards
Turn your Notion database into a deck of cards
Stars: ✭ 37 (-85.82%)
Mutual labels:  notion, notion-api
open-source-notionapi-apps
Collection of Apps, Integrations und Libraries that utilize the Notion API
Stars: ✭ 82 (-68.58%)
Mutual labels:  notion, notion-api
notion-sdk-net
A Notion SDK for .Net
Stars: ✭ 71 (-72.8%)
Mutual labels:  notion, notion-api
thvu-blog
My digital home on the internet.
Stars: ✭ 51 (-80.46%)
Mutual labels:  notion-api
Potion
A Personalized Notion
Stars: ✭ 13 (-95.02%)
Mutual labels:  notion
appflowy
AppFlowy is an open-source alternative to Notion. You are in charge of your data and customizations. Built with Flutter and Rust.
Stars: ✭ 24,929 (+9451.34%)
Mutual labels:  notion
pagely
Launch beautiful websites straight from your Notion workspace or from your GitHub repo
Stars: ✭ 63 (-75.86%)
Mutual labels:  notion

go-notion

GitHub tag (latest SemVer) Go Reference GitHub Go Report Card

go-notion is a client for the Notion API, written in Go.

Features

The client supports all (non-deprecated) endpoints available in the Notion API, as of December 22, 2021:

Databases

Pages

Blocks

Users

Search

Installation

$ go get github.com/dstotijn/go-notion

Getting started

To obtain an API key, follow Notion’s getting started guide.

Code example

First, construct a new Client:

import "github.com/dstotijn/go-notion"

(...)

client := notion.NewClient("secret-api-key")

Then, use the methods defined on Client to make requests to the API. For example:

page, err := client.FindPageByID(context.Background(), "18d35eb5-91f1-4dcb-85b0-c340fd965015")
if err != nil {
    // Handle error...
}

👉 Check out the docs on pkg.go.dev for further reference and examples.

Status

The Notion API is currently in public beta.

⚠️ Although the API itself is versioned, this client will make breaking changes in its code until v1.0 of the module is released.

To do

  • Write tests
  • Provide examples

License

MIT License

© 2021 David Stotijn

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].