A Wrapper of the WebUntis JSON API for .NET for sending and receiving Untis Informations
Take a look at the wiki to see the full documentation for this API.
-
NuGet
- WebUntisSharp is also available on NuGet! Install by typing
Install-Package WebUntisSharpin NuGet Package Manager Console. (Or search forWebUntisSharpon NuGet)
- WebUntisSharp is also available on NuGet! Install by typing
-
Manually
- Download the latest Library (.dll)
- Add the .dll to your Project (Right click
Referencesin the Project Tree View, clickAdd ReferencesandBrowseto the.dllFile)
- C#:
WebUntis untis = new WebUntis("mrousavy", "password1234", schoolUrl, "WebUntisSharp API");- VB:
Dim untis As new WebUntis("mrousavy", "password1234", schoolUrl, "WebUntisSharp API")- C#:
var timegrid = await untis.GetTimegrid();- VB:
Dim timegrid As Timegrid = Await untis.GetTimegrid()-
Logout Method
- C#:
untis.Logout();
- VB:
untis.Logout() -
using Statement
- C#:
using(WebUntis untis = new WebUntis("mrousavy", "password1234", schoolUrl, "WebUntisSharp API")) // our Requests to the WebUntis API go here } // WebUntis Object is now disposed and Logged out (Session has ended)
- VB:
Using untis As New WebUntis("mrousavy", "password1234", schoolUrl, "WebUntisSharp API") ' Your Requests to the WebUntis API go here End Using ' WebUntis Object is now disposed and Logged out (Session has ended)

