Live demo — data resets daily at 03:00 UTC. Nothing you enter is saved. Server UI →

AccordionQ2.WebApiClient

.NET client library for the AccordionQ2 Hardware Management REST API.

NuGet PyPI (Python)

This is the .NET counterpart of the Python WebApiClient. Both libraries expose the same API surface so switching between them feels natural.

Features

  • Strongly typed — full C# model classes and enums for all request/response objects
  • Async-first — every method returns Task or Task<T> with CancellationToken support
  • Full API coverage — 9 operation groups covering all hardware management endpoints
  • HttpClient integration — bring your own HttpClient (e.g. from IHttpClientFactory) or let the library manage one
  • Cross-platform — targets .NET Standard 2.0; works on .NET 5+, .NET Framework 4.6.1+, Mono, Xamarin

Quick Example

using AccordionQ2.WebApiClient;

using var client = new AccordionQ2Client("http://agent64.local:5000");

var status = await client.Connection.GetStatusAsync();
Console.WriteLine($"Connected: {status.IsConnected}");

string temp = await client.Resources.GetValueAsync("TempRegulator.CPU_TEMP");
Console.WriteLine($"CPU temperature: {temp}");

Getting Started

API Reference

Reference

  • Models — request/response model classes
  • Enums — enumeration types

Error Handling

Also Available

Platform Package
.NET Standard 2.0+ AccordionQ2.WebApiClient via NuGet
Python 3.8+ accordionq2 via pip
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.