Eclass Mobile API Client for C#(.net core)
It will take <=8 seconds to login and download(fill) 10 courses.
How to:
//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();
Class Diagram for Avalaible Classes and fields
Deprecated see v1.1.15 branch
Roadmap-Features
- Login(token)
- Tools for Course(specific)
- EclassUser Data(username, pass, uid)
- Course(courseID, Token)
-
Announcements
-
Directories-Docs(2 links, the one is the download link of the home directory of the course)
-
Course Description(as a string)
-
Description(as a string)
-
- Logout
- Nuget package
- Documentation