Moodle Timetable Server
A Node.js server that fetches timetable data from WebUntis.
Setup
- Install dependencies:
npm install express dotenv luxon webuntis
- Create a
.envfile with:
PORT=3000
WEBUNTIS_SCHOOL=your_school
WEBUNTIS_USER=your_username
WEBUNTIS_PASS=your_password
WEBUNTIS_URL=your_webuntis_url
API Endpoints
GET /- Health checkGET /timetable- Fetch timetable for next 4 weeks
Running
node server.js
Server runs on http://localhost:3000 by default.
Description
Languages
JavaScript
100%