Client for Eclass Mobile API
It will take <=8 seconds to login and download(fill) 10 courses.
//Init an Eclass Session for eclass.aueb.gr
EclassUser eclassUser = new EclassUser("aueb");
//Start a session with given usename and pass
await eclassUser.StartAsync("Username", "Password");
//Add courses
user.AddCourses();
//Add tools apart from announcements
await user.UserCourses.AddToolsAsync();
//Add Announcements
await user.AddAnnouncementsAsync();
//Print for all User Courses: Course Name, Course ID, Tools by Name
eclassUser.UserCourses.ForEach(course => {
Console.WriteLine(course.Name + " " + course.ID);
course.ToolViewModel.Tools.ForEach(tool=>Console.WriteLine(tool.Name));
});
await eclassUser.DestroySessionAsync();
Deprecated see v1.1.15 branch
[x] Course(courseID, Token)
[x] Announcements
[x] Directories-Docs(2 links, the one is the download link of the home directory of the course)
[x] Course Description(as a string)
[x] Description(as a string)