kashav / DropIn

Find classes to sit in on at the University of Toronto.
http://drop-in.kshvmdn.com
MIT License
0 stars 0 forks source link

Implement empty room feature #4

Open kashav opened 7 years ago

kashav commented 7 years ago

It'd be cool if there was a way to view all empty rooms/halls at a given time.

I think it might be a good idea to just store a list of all halls/rooms (retrieved from Cobalt courses data) and compare that against the rooms of all classes that are happening right now (which we have access through via the UTSG timetable).

kashav commented 7 years ago

Get a list of all locations (requires jq):

$ curl https://raw.githubusercontent.com/cobalt-uoft/datasets/master/courses.json | jq --slurp '[.[] | .meeting_sections[].times[].location]|unique'