Add burgie

pull/91/head
Stijn De Clercq 2021-09-20 18:21:25 +02:00
parent 75adf849f0
commit a48f15d464
2 changed files with 74 additions and 2 deletions

View File

@ -124,6 +124,7 @@ class Timeslot:
is_special=special, location=location, online_platform=online_platform, online_link=online_link) is_special=special, location=location, online_platform=online_platform, online_link=online_link)
# TODO parse minors
@dataclass @dataclass
class Schedule: class Schedule:
day: datetime day: datetime

View File

@ -94,8 +94,79 @@
] ]
}, },
{ {
"name": "Elektrotechniek en telecommunicatie", "name": "Elektrotechniek en Telecommunicatie",
"schedule": [] "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", "name": "Onderwijs",