WebUntisSharp
Bugfixes and new Constructor
UNTISの情報を送信および受信するための.NETのWebuntis JSON APIのラッパー
Wikiを見て、このAPIの完全なドキュメントをご覧ください。
ヌゲット
Install-Package WebUntisSharpを入力してインストールします。 (またはnugetでWebUntisSharpを検索)手動で
Referencesを右クリックし、 Add Referencesて.dllファイルをBrowse ) 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()ログアウトメソッド
untis . Logout ( ) ; untis.Logout()ステートメントを使用します
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)