WebUntisSharp
Bugfixes and new Constructor
Pembungkus API JSON Webuntis untuk .NET untuk mengirim dan menerima informasi yang tidak
Lihatlah wiki untuk melihat dokumentasi lengkap untuk API ini.
Nuget
Install-Package WebUntisSharp di konsol manajer paket nuget. (Atau cari WebUntisSharp di Nuget)Secara manual
References dalam tampilan pohon proyek, klik Add References dan Browse ke file .dll ) WebUntis untis = new WebUntis ( "mrousavy" , "password1234" , schoolUrl , "WebUntisSharp API" ) ; Dim untis As new WebUntis( "mrousavy" , "password1234" , schoolUrl, "WebUntisSharp API" ) var timegrid = await untis . GetTimegrid ( ) ; Dim timegrid As Timegrid = Await untis.GetTimegrid()Metode logout
untis . Logout ( ) ; untis.Logout()menggunakan pernyataan
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) 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)