WebUntisSharp
Bugfixes and new Constructor
Un envoltorio de la API de Webuntis JSON para .NET para enviar y recibir información de UNTIS
Eche un vistazo a la wiki para ver la documentación completa de esta API.
Nuget
Install-Package WebUntisSharp en la consola Nuget Package Manager. (O busque WebUntisSharp en nuget)A mano
References en la vista del árbol del proyecto, haga clic en Add References y Browse al archivo .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 cierre de sesión
untis . Logout ( ) ; untis.Logout()Uso de la declaración
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)