Suiram1.WebUntisAPI.Client 1.2.3

dotnet add package Suiram1.WebUntisAPI.Client --version 1.2.3                
NuGet\Install-Package Suiram1.WebUntisAPI.Client -Version 1.2.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Suiram1.WebUntisAPI.Client" Version="1.2.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Suiram1.WebUntisAPI.Client --version 1.2.3                
#r "nuget: Suiram1.WebUntisAPI.Client, 1.2.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Suiram1.WebUntisAPI.Client as a Cake Addin
#addin nuget:?package=Suiram1.WebUntisAPI.Client&version=1.2.3

// Install Suiram1.WebUntisAPI.Client as a Cake Tool
#tool nuget:?package=Suiram1.WebUntisAPI.Client&version=1.2.3                

WebUntisAPI.Client

This .NET library allows you to connect you with a WebUntis account and load all of the data you need from there.

Download sources:

  • GitHub
  • NuGet

Documentation:

The documentation is integrated in the package so that all classes and methods explain what they do. Here're the basics to use the library:

Licence:

When your project has .NET 6 or greater as target you must be ensure that your project also agrees the Six Labors Split License as Transitive Package Dependency. This is in cause of that this package use in .NET 6 or greater the packages SixLabors.ImageSharp and SixLabors.ImageSharp.Drawing for dynamic image loading and rendering.

1. Add references to this library

The simplest way is to add the NuGet package to your project, but when you don't want to use NuGet you can also download the binaries of the package and add the reference the contained .dll

2. Creating a client and login:

using (WebUntisClient client = new WebUntisClient("App name"))
{
    await client.LoginAsync("example.webuntis.com", "exampleSchool", "username", "password")
    // Here can you send your requests
}

Overloads:

  • The LoginAsync() method has an overload where you can use instead of the serverName and the loginName an instance of School that returned from the school search.

Remarks:

  • When you use the client in a using statement you would automatically logged out when it disposed
  • Under no circumstances should 10 req. per sec., more than 1800req. per hr (but in no case more than 3600 req. per hr). If the specifications are exceeded, access to WebUntis could permanently blocked by the WebUntis API.

3. Send requests

After your login you can send requests to get information about your timetable and all about. The methods an what they do should be self-explained.

Issues

When you had an error that you don't understand or you don't understand how you can use the library you can create an issue so that I can help you by your problem. GitHub


This is an unofficial library that I created from the WebUntis API documentation by my-self. I stand in no association with the Units GmbH

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Framework net47 is compatible.  net471 was computed.  net472 was computed.  net48 was computed.  net481 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.3 164 9/17/2023
1.2.2 166 8/28/2023
1.2.1 152 8/28/2023
1.2.0 147 8/25/2023
1.1.1 161 8/12/2023
1.1.0 173 7/12/2023
1.0.0 163 7/2/2023
0.2.0 165 6/27/2023
0.1.0 145 6/23/2023