From a48f15d464caa8ebdd99be75179f3295ff3f8bf2 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Mon, 20 Sep 2021 18:21:25 +0200 Subject: [PATCH] Add burgie --- data/schedule.py | 1 + files/schedules/31.json | 75 +++++++++++++++++++++++++++++++++++++++-- 2 files changed, 74 insertions(+), 2 deletions(-) diff --git a/data/schedule.py b/data/schedule.py index 71f0968..529659b 100644 --- a/data/schedule.py +++ b/data/schedule.py @@ -124,6 +124,7 @@ class Timeslot: is_special=special, location=location, online_platform=online_platform, online_link=online_link) +# TODO parse minors @dataclass class Schedule: day: datetime diff --git a/files/schedules/31.json b/files/schedules/31.json index 6683c95..898ce47 100644 --- a/files/schedules/31.json +++ b/files/schedules/31.json @@ -94,8 +94,79 @@ ] }, { - "name": "Elektrotechniek en telecommunicatie", - "schedule": [] + "name": "Elektrotechniek en Telecommunicatie", + "schedule": [ + { + "name": "Inleiding tot Telecommunicatie", + "slots": [ + { + "location": { + "campus": "Ardoyen", + "building": "iGent 125", + "room": "Systems" + }, + "time": { + "day": "maandag", + "start": 1000, + "end": 1300 + } + }, + { + "location": { + "campus": "Ardoyen", + "building": "iGent 125", + "room": "Systems" + }, + "time": { + "day": "dinsdag", + "start": 1300, + "end": 1600 + } + } + ] + }, + { + "name": "Wiskundige Modellering", + "slots": [ + { + "location": { + "campus": "Sterre", + "building": "S9", + "room": "1.1" + }, + "time": { + "day": "maandag", + "start": 830, + "end": 1000 + } + }, + { + "location": { + "campus": "Sterre", + "building": "S8", + "room": "3.2" + }, + "time": { + "day": "donderdag", + "start": 1430, + "end": 1600 + } + }, + { + "location": { + "campus": "Sterre", + "building": "S8", + "room": "3.2" + }, + "time": { + "day": "vrijdag", + "start": 830, + "end": 1130 + } + } + ] + } + ] }, { "name": "Onderwijs",