WebUntisSharp
Bugfixes and new Constructor
Um invólucro da API da Webuntis JSON para .NET para enviar e receber informações da UNTIS
Dê uma olhada no wiki para ver a documentação completa para esta API.
NUGET
Install-Package WebUntisSharp console do Nuget Package Manager. (Ou procure por WebUntisSharp no nuget)Manualmente
References na visualização da árvore do projeto, clique em Add References e Browse ao arquivo .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()Método de logout
untis . Logout ( ) ; untis.Logout()usando a instrução
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)