Hydrus.NET
0.8.0
dotnet add package Hydrus.NET --version 0.8.0
NuGet\Install-Package Hydrus.NET -Version 0.8.0
<PackageReference Include="Hydrus.NET" Version="0.8.0" />
<PackageVersion Include="Hydrus.NET" Version="0.8.0" />
<PackageReference Include="Hydrus.NET" />
paket add Hydrus.NET --version 0.8.0
#r "nuget: Hydrus.NET, 0.8.0"
#:package Hydrus.NET@0.8.0
#addin nuget:?package=Hydrus.NET&version=0.8.0
#tool nuget:?package=Hydrus.NET&version=0.8.0
Hydrus.NET
Low-level C# client library for the Hydrus Network's REST API.
I tend to make a lot of little one-off apps that interface with Hydrus and got tired writing the same boilerplate code over and over.
Unfinished.
Because it's hard to write meaningful tests for this kind of library, the .Tests projects assume a real running instance of the Hydrus client. As such, they don't run in CI at present. In the future, I might try to implement 'real' integration tests by spinning up an instance of the client in a container. But Hydrus unfortunately does not make this easy.
Building
git clone https://github.com/yourusername/Hydrus.NET.git
cd Hydrus.NET
dotnet build
Usage
NOTE: the package is not yet on NuGet.
dotnet add package Hydrus.NET
using Hydrus.NET;
// You can retrieve these details in your client by going to:
// services -> review services -> client api ->
// 'open client api base url' / 'copy api access key'
var client = new HydrusClient("http://localhost:45869", "your-api-key");
var response = await _sut.Client.GetVersionAsync();
Console.WriteLine(response.Version); // 80
Design
This is a low-level wrapper for the API; convenience is not currently a goal.
Contributing
PRs are welcome.
License
MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net9.0
- Microsoft.AspNetCore.WebUtilities (>= 9.0.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.1)
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 |
---|---|---|
0.8.0 | 89 | 7/28/2025 |