This project allows you to sync your myCPE planning with Google Agenda and other calendars app using the iCalendar format !
If you ever experienced using the myCPE app you'll know why :)
If you want to use this software without any setup you can use the hosted version.
https://cpecalendar.deta.dev/?email=your.name@cpe.fr&password=YOURPASSWORD
First install all dependencies using npm :
npm i
You can then configure on what port the HTTP server will be running and how much weeks will be fetched in the "config.json" file :
{
"port": 3000,
"retrieveWeeks": 4
}
And start the server using :
node index.js
The server will then be running on the defined port !
You'll be then able to import your calendar by using the following URL :
http://IP:PORT/?email=your.name@cpe.fr&password=YOURPASSWORD
Use a link to add a calendar on Google Agenda :
https://support.google.com/calendar/answer/37100?hl=en&co=GENIE.Platform%3DDesktop