{"id":13714422,"url":"https://github.com/jomei/notionapi","last_synced_at":"2025-05-14T18:03:00.075Z","repository":{"id":37980073,"uuid":"370063656","full_name":"jomei/notionapi","owner":"jomei","description":"A Notion API SDK, written in Golang","archived":false,"fork":false,"pushed_at":"2025-02-13T05:50:12.000Z","size":173,"stargazers_count":543,"open_issues_count":21,"forks_count":85,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-13T10:54:51.662Z","etag":null,"topics":["go","golang","notion","notion-api"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/jomei/notionapi","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jomei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-23T13:42:46.000Z","updated_at":"2025-04-10T06:17:41.000Z","dependencies_parsed_at":"2023-11-20T06:33:02.838Z","dependency_job_id":"65ba74d0-c879-43b9-8f3b-bb388a205894","html_url":"https://github.com/jomei/notionapi","commit_stats":{"total_commits":198,"total_committers":47,"mean_commits":4.212765957446808,"dds":0.5404040404040404,"last_synced_commit":"f2cb9bd1fc673eaeb9c1db4b6c733b2d651daa7b"},"previous_names":[],"tags_count":58,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jomei%2Fnotionapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jomei%2Fnotionapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jomei%2Fnotionapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jomei%2Fnotionapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jomei","download_url":"https://codeload.github.com/jomei/notionapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198452,"owners_count":22030964,"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"],"created_at":"2024-08-02T23:01:59.187Z","updated_at":"2025-05-14T18:03:00.030Z","avatar_url":"https://github.com/jomei.png","language":"Go","funding_links":[],"categories":["Go","Repositories"],"sub_categories":[],"readme":"# notionapi\n\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/jomei/notionapi?label=go%20module)](https://github.com/jomei/notionapi/tags)\n[![Go Reference](https://pkg.go.dev/badge/github.com/jomei/notionapi.svg)](https://pkg.go.dev/github.com/jomei/notionapi)\n[![Test](https://github.com/jomei/notionapi/actions/workflows/test.yml/badge.svg)](https://github.com/jomei/notionapi/actions/workflows/test.yml)\n\nThis is a Golang implementation of an API client for the [Notion API](https://developers.notion.com/).\n\n## Supported APIs\n\nIt supports all APIs of the Notion API version `2022-06-28`.\n\n## Installation\n\n```bash\ngo get github.com/jomei/notionapi\n```\n\n## Usage\n\nFirst, please follow the [Getting Started Guide](https://developers.notion.com/docs/getting-started) to obtain an integration token.\n\n### Initialization\n\nImport this library and initialize the API client using the obtained integration token.\n\n```go\nimport \"github.com/jomei/notionapi\"\n\nclient := notionapi.NewClient(\"your_integration_token\")\n```\n\n### Calling the API\n\nYou can use the methods of the initialized client to call the Notion API. Here is an example of how to retrieve a page:\n\n```go\npage, err := client.Page.Get(context.Background(), \"your_page_id\")\nif err != nil {\n    // Handle the error\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjomei%2Fnotionapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjomei%2Fnotionapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjomei%2Fnotionapi/lists"}