{"id":20020183,"url":"https://github.com/wonism/get-notion-data","last_synced_at":"2025-05-04T23:32:46.604Z","repository":{"id":40746513,"uuid":"192214984","full_name":"wonism/get-notion-data","owner":"wonism","description":"Get public Notion page's data.","archived":false,"fork":false,"pushed_at":"2022-06-25T01:02:35.000Z","size":7,"stargazers_count":15,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T14:21:24.131Z","etag":null,"topics":["cms","notion"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wonism.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-16T16:47:34.000Z","updated_at":"2024-05-30T08:35:08.000Z","dependencies_parsed_at":"2022-08-20T01:51:26.313Z","dependency_job_id":null,"html_url":"https://github.com/wonism/get-notion-data","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonism%2Fget-notion-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonism%2Fget-notion-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonism%2Fget-notion-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonism%2Fget-notion-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wonism","download_url":"https://codeload.github.com/wonism/get-notion-data/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252414676,"owners_count":21744151,"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":["cms","notion"],"created_at":"2024-11-13T08:30:12.135Z","updated_at":"2025-05-04T23:32:46.389Z","avatar_url":"https://github.com/wonism.png","language":"JavaScript","readme":"# Get Notion Data\n\u003e This will help you to get **PUBLIC** Notion page's data.\n\n## Installation\n```sh\n$ npm i -S get-notion-data\n```\n\n## Usage\n```js\nconst getNotionData = require('get-notion-data');\n\ngetNotionData(/* YOUR NOTION PAGE ID */).then((data) =\u003e {\n  console.log(JSON.stringify(data, null, 2));\n});\n```\n\n\u003cdiv\u003eFirst of all, you should make page public. Then you can get the ID of the page.\u003c/div\u003e\n\u003cdiv\u003eIf the public Notion page's URL is https://www.notion.so/Personal-Home-db45cd2e7c694c3493c97f2376ab184a\u003c/div\u003e\n\u003cdiv\u003eYou need to copy `db45cd2e7c694c3493c97f2376ab184a`. and make it to follow below format.\u003c/div\u003e\n\n```\nXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\nX{8}-X{4}-X{4}-X{4}-X{12}\n```\n\nBefore run the source, you should set up the timezone like this. Default timezone is Asiz/Seoul.\n```sh\n$ TZ=Asia/Seoul\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwonism%2Fget-notion-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwonism%2Fget-notion-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwonism%2Fget-notion-data/lists"}