Related Post: https://www.awesomecoding.co/posts/using-notion-api-with-javascript
To run the examples in this repository, first npm install.
npm install
Then you can do:
npm start
Which would execute the index.js
file and write its output to data.json
file.
**Note that you would need to have a .env
file that has your Notion API key and database id stored inside.**å