WebUntisSharp
Bugfixes and new Constructor
UNTIS 정보를 보내고 받기위한 .NET 용 Webuntis JSON API의 래퍼
이 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)