AVPRClient 0.1.2
dotnet add package AVPRClient --version 0.1.2
NuGet\Install-Package AVPRClient -Version 0.1.2
<PackageReference Include="AVPRClient" Version="0.1.2" />
paket add AVPRClient --version 0.1.2
#r "nuget: AVPRClient, 0.1.2"
// Install AVPRClient as a Cake Addin #addin nuget:?package=AVPRClient&version=0.1.2 // Install AVPRClient as a Cake Tool #tool nuget:?package=AVPRClient&version=0.1.2
AVPR Client
.NET client library for https://avpr.nfdi4plants.org.
Generated with NSwag based on the OpenAPI specification.
Usage
fsharp
open AVPRClient
let client =
let httpClient = new System.Net.Http.HttpClient()
httpClient.DefaultRequestHeaders.Add("X-API-KEY", apiKey)
new AVPRClient.Client(httpClient)
csharp
using AVPRClient;
var httpClient = new System.Net.Http.HttpClient()
httpClient.DefaultRequestHeaders.Add("X-API-KEY", apiKey)
var client = new Client(httpClient);
(Re)generate client
in project root of AVPRClient:
<path to nswag tool>\NSwag\Net80\dotnet-nswag.exe openapi2csclient /input:https://avpr.nfdi4plants.org/swagger/v1/swagger.json /namespace:AVPRClient /output:AVPRClient.cs
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- AVPRIndex (>= 0.2.0 && < 1.0.0)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AVPRClient:
Package | Downloads |
---|---|
ARCValidationPackages
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
## v0.1.2
- Add more `IdentityEquals` extension methods to compare between `ValidationPackage` and `ValidationPackageIndex`
## v0.1.1
- Add `IdentityEquals` extension method for `ValidationPackage`
## v0.1.0
- Regen client for full semVer support (AVPRIndex >= 0.2.0)
## v0.0.9
- Use AVPRIndex for all package binary content extractions
## v0.0.8
- Use AVPRIndex for all package hash calculations
## v0.0.7
- Further TypeExtension improvements and fixes
## v0.0.6
- Fix some missing fields in type extensions
## v0.0.5
- Regen Client with new `CQCHookEndpoint` field in package metadata
## v0.0.4
- Add more interop extensions between AVPRClient and AVPRIndex
- Regen Client with new statistics API Endpoints
## v0.0.3
- Add extensions that connect AVPRIndex and AVPRClient types
## v0.0.2
- Regen with for additional metadata fields
## v0.0.1
- Initial release for AVPR API v1