🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

get-notion-data

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-notion-data

Get public Notion page's data.

1.0.2
latest
npm
Version published
Weekly downloads
1
-80%
Maintainers
1
Weekly downloads
 
Created
Source

Get Notion Data

This will help you to get PUBLIC Notion page's data.

Installation

$ npm i -S get-notion-data

Usage

const getNotionData = require('get-notion-data');

getNotionData(/* YOUR NOTION PAGE ID */).then((data) => {
  console.log(JSON.stringify(data, null, 2));
});
First of all, you should make page public. Then you can get the ID of the page.
If the public Notion page's URL is https://www.notion.so/Personal-Home-db45cd2e7c694c3493c97f2376ab184a
You need to copy `db45cd2e7c694c3493c97f2376ab184a`. and make it to follow below format.
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
X{8}-X{4}-X{4}-X{4}-X{12}

Before run the source, you should set up the timezone like this. Default timezone is Asiz/Seoul.

$ TZ=Asia/Seoul

Keywords

notion

FAQs

Package last updated on 16 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts