{"id":13770495,"url":"https://github.com/ketion-so/go-notion","last_synced_at":"2025-05-11T03:32:46.423Z","repository":{"id":42859591,"uuid":"366239997","full_name":"ketion-so/go-notion","owner":"ketion-so","description":"Go written SDK for Notion.so API","archived":true,"fork":false,"pushed_at":"2023-10-19T10:14:31.000Z","size":199,"stargazers_count":13,"open_issues_count":11,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-11-17T06:40:23.070Z","etag":null,"topics":["go","golang","notion","notion-api","sdk"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/ketion-so/go-notion","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ketion-so.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-05-11T03:06:00.000Z","updated_at":"2023-11-30T10:25:01.000Z","dependencies_parsed_at":"2023-01-18T14:15:38.494Z","dependency_job_id":"743f0f1d-a809-4bb5-b75b-7b67187cc580","html_url":"https://github.com/ketion-so/go-notion","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ketion-so%2Fgo-notion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ketion-so%2Fgo-notion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ketion-so%2Fgo-notion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ketion-so%2Fgo-notion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ketion-so","download_url":"https://codeload.github.com/ketion-so/go-notion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253514352,"owners_count":21920327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","notion","notion-api","sdk"],"created_at":"2024-08-03T17:00:38.349Z","updated_at":"2025-05-11T03:32:46.015Z","avatar_url":"https://github.com/ketion-so.png","language":"Go","funding_links":[],"categories":["APIs"],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/ketion-so\"\u003e\n    \u003cimg src=\"https://avatars.githubusercontent.com/u/83997411?s=200\u0026v=4\" alt=\"Ketion.so logo\" title=\"Ketion.so\" align=\"right\" height=\"90\" /\u003e\n\u003c/a\u003e\n\n# go-notion\n\n![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/ketion-so/go-notion?color=green)\n[![Go Reference](https://pkg.go.dev/badge/github.com/ketion-so/go-notion.svg)](https://pkg.go.dev/github.com/ketion-so/go-notion)\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/ketion-so/go-notion)\n![GitHub Repo stars](https://img.shields.io/github/stars/ketion-so/go-notion)\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/ketion-so/go-notion)](https://goreportcard.com/report/github.com/ketion-so/go-notion)\n [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com/)\n[![Test](https://github.com/ketion-so/go-notion/actions/workflows/test.yml/badge.svg)](https://github.com/ketion-so/go-notion/actions/workflows/test.yml)\n[![reviewdog](https://github.com/ketion-so/go-notion/actions/workflows/reviewdog.yml/badge.svg)](https://github.com/ketion-so/go-notion/actions/workflows/reviewdog.yml)\n[![Coverage Status](https://coveralls.io/repos/github/ketion-so/go-notion/badge.svg?branch=main)](https://coveralls.io/github/ketion-so/go-notion?branch=main)\n\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.0-4baaaa.svg)](code_of_conduct.md)\n\nGo written [Notion](https://www.notion.so) SDK.\n\n*Note: The [Notion API](https://developers.notion.com/) is in beta phase*\n\n## Supported APIs\n\nIt supports all APIs for Notion API (as for 2021-05-15).\n\n* [x] Blocks\n* [x] Databases\n* [x] Pages\n* [x] Search\n* [x] Users\n\nIs this package needs update, please raise an issue or a PR.\n\n## Installation\n\nInclude this  in your code as below:\n\n```golang\nimport \"github.com/ketion-so/go-notion/notion\"\n```\n\nor using `go get`\n\n```console\n$  go get -u github.com/ketion-so/go-notion\n```\n\n## Usage\n\nInitialize the client as below:\n\n```golang\nclient := notion.NewClient(\"access token\")\n```\n\nHere are some examples:\n\n## List Dashboard\n\n```golang\nresp, _ := client.Databases.List(ctx)\nfmt.Println(resp.Databases)\n```\n\n## Get user\n\n```golang\nuser, _ := client.Users.Get(ctx, \"user ID\")\n```\n\n\n## License\n\nThis tool is released under Apache License 2.0. See details [here](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fketion-so%2Fgo-notion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fketion-so%2Fgo-notion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fketion-so%2Fgo-notion/lists"}