notion-node:Notion 的非官方 API 包装器

时间:2021-05-29 22:23:07
【文件属性】:
文件名称:notion-node:Notion 的非官方 API 包装器
文件大小:71KB
文件格式:ZIP
更新时间:2021-05-29 22:23:07
JavaScript 概念.js Notion 的非官方 Node.js API 包装器。 入门 这些说明将帮助您启动并运行,以便能够在 Node 中查询 Notion.so 数据并与之交互! 安装 这个库可以使用npm安装: npm install notion.js 或yarn : yarn add notion.js 要从 Notion 页面获取一些数据,您只需导入库、创建客户端并传入公共页面 URL。 const Notion = require ( 'notion.js' ) const notion = new Notion ( ) const getPage = async ( ) => { let page = await notion . getPage ( 'https://www.notion.so/What-s-New-157765353f2c4705bd45474e5
【文件预览】:
notion-node-master
----yarn.lock(152KB)
----src()
--------request.js(6KB)
--------notion.js(2KB)
--------page.js(1KB)
--------__tests__()
--------util.js(3KB)
--------block.js(8KB)
--------collection.js(1KB)
----jsconfig.json(80B)
----LICENSE(1KB)
----README.md(3KB)
----.gitignore(2KB)
----index.js(39B)
----package.json(514B)

网友评论