EclassApi 1.1.6

An Eclass Mobile API Client for C#

There is a newer version of this package available.
See the version list below for details.
Install-Package EclassApi -Version 1.1.6
dotnet add package EclassApi --version 1.1.6
<PackageReference Include="EclassApi" Version="1.1.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EclassApi --version 1.1.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EclassApi, 1.1.6"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install EclassApi as a Cake Addin
#addin nuget:?package=EclassApi&version=1.1.6

// Install EclassApi as a Cake Tool
#tool nuget:?package=EclassApi&version=1.1.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

NuGet version

How to:

<pre><code class='language-cs'>
//Init an Eclass Session for eclass.aueb.gr
EclassUser eclassUser = new EclassUser("aueb");
//Start a session with given usename and pass
await eclassUser.Start("Username", "Password");
//Print for all User Courses: Course Name, Course ID, Tools by Name
eclassUser.UserCourses.ForEach(course ⇒ {
Console.WriteLine(course.Name + " " + course.ID);
course.Tools.ForEach(tool=>Console.WriteLine(tool.Name));
});
eclassUser.DestroySession();
</code></pre>

Attention
Property Tool.Content is type of Object, but you should use it as:
case docs: List<HtmlNode> of 2 elements
case description: HtmlNode
case courseDescription: HtmlNode
case announcements: List<Announcements>
Class Diagram for Avalaible Classes and fields

ClassDiagram.svg

Roadmap-Features
  • Login(token)
  • Tools for Course(specific)
  • EclassUser Data(username, pass, uid)
  • Course(courseID, Token)
    • Announcements

    • Directories(a list of 2 HtmlNode elements)

    • Course Description(HtmlNode element)

    • Description(HtmlNode element)

  • Nuget package
  • Documentation

HtmlNode Documentation

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

NuGet version

How to:

<pre><code class='language-cs'>
//Init an Eclass Session for eclass.aueb.gr
EclassUser eclassUser = new EclassUser("aueb");
//Start a session with given usename and pass
await eclassUser.Start("Username", "Password");
//Print for all User Courses: Course Name, Course ID, Tools by Name
eclassUser.UserCourses.ForEach(course ⇒ {
Console.WriteLine(course.Name + " " + course.ID);
course.Tools.ForEach(tool=>Console.WriteLine(tool.Name));
});
eclassUser.DestroySession();
</code></pre>

Attention
Property Tool.Content is type of Object, but you should use it as:
case docs: List<HtmlNode> of 2 elements
case description: HtmlNode
case courseDescription: HtmlNode
case announcements: List<Announcements>
Class Diagram for Avalaible Classes and fields

ClassDiagram.svg

Roadmap-Features
  • Login(token)
  • Tools for Course(specific)
  • EclassUser Data(username, pass, uid)
  • Course(courseID, Token)
    • Announcements

    • Directories(a list of 2 HtmlNode elements)

    • Course Description(HtmlNode element)

    • Description(HtmlNode element)

  • Nuget package
  • Documentation

HtmlNode Documentation

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.0 359 8/21/2019
2.0.0 319 8/18/2019
1.1.15 300 7/27/2019
1.1.14 310 7/27/2019
1.1.10 681 12/9/2017
1.1.9 631 12/9/2017
1.1.8 601 12/8/2017
1.1.7 592 12/8/2017
1.1.6 667 11/28/2017
1.0.0 654 11/27/2017
Show less