Skip to content

NPM ​

访问 https://www.notion.so/profile/integrations/internal ,新建内部集成,编辑内容访问权限,复制密钥。内部集成创建成功后,无法更改工作空间。

安装 Node.js ,安装 Notion 官方包。产品页面 https://www.npmjs.com/package/@notionhq/client 。

mkdir test
cd test

npm i @notionhq/client

天下大吉