IServNET 1.0.1

dotnet add package IServNET --version 1.0.1
                    
NuGet\Install-Package IServNET -Version 1.0.1
                    
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="IServNET" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IServNET" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="IServNET" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add IServNET --version 1.0.1
                    
#r "nuget: IServNET, 1.0.1"
                    
#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.
#:package IServNET@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=IServNET&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=IServNET&version=1.0.1
                    
Install as a Cake Tool

IServ.Net-Api

A comprehensive C# client library for interacting with the IServ school management system API.

Overview

This library provides a complete C# implementation of the IServ API, translated from the Python IServAPI project. It supports all major features including user management, notifications, email, calendar events, and file operations.

Features

  • Authentication & Session Management - Automatic login and cookie handling
  • User Management - Get/set user info, search users, profile pictures
  • Notifications & Badges - Retrieve and manage notifications
  • Email - Send/receive emails with attachment support
  • Calendar - Create/delete events with recurring patterns and alarms
  • File Management - WebDAV integration and disk space monitoring
  • Conference - Video conference health monitoring
  • Groups - Retrieve available groups

Quick Start

using IServ;

// Initialize and login
using var api = new IServApi("username", "password", "school.iserv.de");

// Get user information
var userInfo = await api.GetOwnUserInfoAsync();
Console.WriteLine($"User: {userInfo.PublicInfo.Mail}");

// Create a calendar event
await api.CreateEventAsync(
    subject: "Meeting",
    calendar: "calendar-id",
    start: DateTime.Now.AddDays(1),
    end: DateTime.Now.AddDays(1).AddHours(1)
);

// Send an email
await api.SendEmailAsync(
    receiverEmail: "recipient@school.iserv.de",
    subject: "Hello",
    body: "Test email from IServ.Net-Api"
);

Installation

Add the project reference to your application:

dotnet add reference IServ/IServ.csproj

Documentation

See README_USAGE.md for comprehensive documentation with examples.

Requirements

  • .NET 10.0 or later
  • Valid IServ account credentials
  • Network access to IServ instance

Dependencies

  • HtmlAgilityPack - HTML parsing
  • MailKit - SMTP email functionality
  • Newtonsoft.Json - JSON serialization
  • Built-in Console logger (no external logging dependency)
  • WebDAVClient - WebDAV file operations

Project Structure

IServ/
├── IServApi.cs              # Main API class
├── Models/                  # Data models
│   ├── UserInfo.cs
│   ├── RecurringEventOptions.cs
│   ├── IntervalType.cs
│   ├── Privacy.cs
│   └── ...
└── Exceptions/
    └── IServException.cs    # Custom exception type

Credits

This C# implementation is based on the Python IServAPI by Leo-Aqua.

License

See LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
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.0.1 159 11/24/2025