get method

Future<Week> get(
  1. Room room,
  2. int year,
  3. int weekNum
)

Implementation

Future<Week> get(Room room, int year, int weekNum) async {
  var url = student.buildUrl(
      "SkemaNy.aspx?type=lokale&id=${room.id}&week=${intFixed(weekNum, 2)}$year");
  var req = await request(url);
  return extractCalendar(BeautifulSoup(req.data), year, weekNum);
}