Testing out the features of the new Notion API, therefore this repository will be updated regarding the developments of the API.
You can find the reference for the API here.
You have to add an integration to your Notion workspace in order to retrieve the secret token that will be used for the client. You can find more information here.
You need typescript and node.js installed on your machine:
yarn add global typescript
Install dependencies:
yarn install
Compile and run it with:
tsc && node dist/index.js