CourseService class

Service for accessing NTUT's course selection and catalog system.

This service provides access to:

  • Student course schedules and enrollment
  • Course catalog information
  • Teacher, classroom, and syllabus data

Authentication is required through PortalService.sso with PortalServiceCode.courseService before using this service.

Data is parsed from HTML pages as NTUT does not provide a REST API.

Constructors

CourseService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getClassroom({required String classroomId, required SemesterDto semester}) Future
Fetches detailed information about a specific classroom.
getCourse(String courseId) Future<CourseDto>
Fetches detailed information about a specific course from the catalog.
getCourseSemesterList() Future<List<SemesterDto>>
Fetches the list of available semesters for the authenticated student.
getCourseTable({required String username, required SemesterDto semester}) Future<List<ScheduleDto>>
Fetches the course schedule table for a specific student and semester.
getSyllabus({required String courseNumber, required String syllabusId}) Future<SyllabusDto>
Fetches the detailed syllabus for a course offering.
getTeacher({required String teacherId, required SemesterDto semester}) Future<TeacherDto>
Fetches detailed information about a specific teacher.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited