项目作者: amoraitis

项目描述 :
Client for Eclass Mobile API
高级语言: C#
项目地址: git://github.com/amoraitis/EclassMobileApi.git
创建时间: 2017-11-01T20:29:09Z
项目社区:https://github.com/amoraitis/EclassMobileApi

开源协议:MIT License

下载


Eclass Mobile API Client for C#(.net core)

NuGet version
Github package
Build status

GitHub license
Twitter

It will take <=8 seconds to login and download(fill) 10 courses.

How to:

  1. //Init an Eclass Session for eclass.aueb.gr
  2. EclassUser eclassUser = new EclassUser("aueb");
  3. //Start a session with given usename and pass
  4. await eclassUser.StartAsync("Username", "Password");
  5. //Add courses
  6. user.AddCourses();
  7. //Add tools apart from announcements
  8. await user.UserCourses.AddToolsAsync();
  9. //Add Announcements
  10. await user.AddAnnouncementsAsync();
  11. //Print for all User Courses: Course Name, Course ID, Tools by Name
  12. eclassUser.UserCourses.ForEach(course => {
  13. Console.WriteLine(course.Name + " " + course.ID);
  14. course.ToolViewModel.Tools.ForEach(tool=>Console.WriteLine(tool.Name));
  15. });
  16. 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)
  • [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)

  • Logout
  • Nuget package
  • Documentation