Skip to content

Accessing Edupage.org via node.js and EDUPAGE-API module (mirrored)

License

Notifications You must be signed in to change notification settings

musil/edupage-node-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edupage Examples in Node.js collection

Clone this git repository

git clone .....

prepare secrets

  • rename '.env.EXAMPLE' to '.env'
mv .env.EXAMPLE .env
  • edit '.env' file and change username and password

file '.env' is ignored and will not be uploaded back to repo .. see '.gitignore'file

install Node js module edupage-api

npm i edupage-api

install Node.js module 'dotenv''

npm install dotenv

Run code

node file.js
file namedescription
get_login_info.jsGet login info
get_homework.jsHomework for tomorrow and +1 day
get_timetable.jsTimetable for specific dates

Examples

[X] Login info [X] Get Timetable (specific date) [X] Get Homework for tommorrow and for day after tomorrow

About

Accessing Edupage.org via node.js and EDUPAGE-API module (mirrored)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published