This script was created to send webhooks when pronote messages and homeworks are sent.
- Step 1 Configure credential : ./Client/credentials.json
{
"type": "fetch",
"username": "username",
"password": "password",
"url": "pronote url",
"cas": "academy"
}
- Step 2 Configure webhook : ./Client/webhook.json
{
"id": "webhook_id",
"token": "webhook_token"
}
- Step 3 Run command
npm i
- Step 4 Run server
node ./Server/index.js
- Step 5 Run server
node ./Client/index.js
- Step 6 Enjoy :)
- Node.js - server
- pronote-api - pronote-api
- Litarvan - pronote-api developer - read more