0.1.2-readme • Published 1 year ago
easy-notion-api v0.1.2-readme
easy-notion-api
for easy notion api
How to use
const conn = new EasyNotion.DatabaseAPI('Your secret key', 'Your page ID')
const sendData = await conn.addDatabaseRow({
'Name': 'Test',
'Checkbox': true,
'Result': 'Testing',
'Tags': ['Test', 'Test2']
}).then(res => console.log(res))
Then, You can check the result on your page.
Supported List
DB - Insert Row
- title
- rich_text
- number
- url
- select
- multi select
- people
- phone number
- data
- check box
- status