Skip to content

A Node.js script to calculate the subjet average / overall average through EcoleDirecte's (private) api.

Notifications You must be signed in to change notification settings

SpicyWasab/script-ecole-directe-moyenne

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

script-ecole-directe-moyenne

This is part of my script project
A Node.js script to get the overall average, fetching all marks from EcoleDirecte
This uses node-fetch, ora, and prompt-promise as dependencies.

sidenote : with node v17.5, the script can be used without node-fetch, but only through the --experimental-fetch node flag.
This allows removing the custom user-agent, because EcoleDirecte seems to have banned the "node-fetch" user-agent. In future node versions, this could be usable without the flag.

About

A Node.js script to calculate the subjet average / overall average through EcoleDirecte's (private) api.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published