So, my Windows 10 app written for learning purposes needed to comunicate with eclass to show some information about the user. The user would login, see information about the courses, in which he/she is enrolled and logout. This process was implemented inside the app on that time.
Wrapping app those changes in the summer of 2019 for the EclassMobileApi v1, I was working on improving the library’s fetch time and consistency for some extended data from eClass mobile api and from the installations(demo installation here).
2nd version released on Aug 21, 2019
Available on nuget.org and GitHub Packages, the eClass API wrapper has simple yet powerfull capabilities any developer can take advandage of in his/her application. The fact that anyone can use eClass for free as their e-learning platform, makes it even necessary to develop apps for their distros and with 0 effort.
In the current version, you can login/logout, get Tools for each course and a data structure that saves the announcements, the directoriss(the download link and the link to the home page), the course description, and the generic description of each course, the user has registered to. These data are saved to a list of courses, each course as a name, an id and a wrapper for the tools mentioned above.
As you can see in the snippet bellow, the avalaible data for an announement are the title, the content(
Description property), the date published and a link to the eclass page for the announcement.
A simple session
A JSON converter
A JSON converter for the main
EclassUser object is also avalaible in the project.
Navigate to the unit tests, and see how easy is to store an EclassUser as a JSON object.
Currently, the nuget package is targeting .net core 2.0 and .NETStandard 1.4, but we can easily add other targets to the project.
This was my effort to integrate eClass in my application back then and I wanted to spread the word about it, in case anyone needs to use it.