Skip to content

⏰ A Wrapper of the WebUntis JSON API for .NET

License

Notifications You must be signed in to change notification settings

nils2525/WebUntisSharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


WebUntisSharp

A Wrapper of the WebUntis JSON API for .NET for sending and receiving Untis Informations

Documentation NuGet

Buy Me a Coffee at ko-fi.com

How to use

Full guide

Take a look at the wiki to see the full documentation for this API.

Quickstart

1. Add Binaries

2. Create WebUntis Object

  • C#:
WebUntis untis = new WebUntis("mrousavy", "password1234", schoolUrl, "WebUntisSharp API");
  • VB:
Dim untis As new WebUntis("mrousavy", "password1234", schoolUrl, "WebUntisSharp API")

3. Send Requests

  • C#:
var timegrid = await untis.GetTimegrid();
  • VB:
Dim timegrid As Timegrid = Await untis.GetTimegrid()

4. Logout

  • 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)

About

⏰ A Wrapper of the WebUntis JSON API for .NET

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%