MLVScan.ApiClient
1.3.0
dotnet add package MLVScan.ApiClient --version 1.3.0
NuGet\Install-Package MLVScan.ApiClient -Version 1.3.0
<PackageReference Include="MLVScan.ApiClient" Version="1.3.0" />
<PackageVersion Include="MLVScan.ApiClient" Version="1.3.0" />
<PackageReference Include="MLVScan.ApiClient" />
paket add MLVScan.ApiClient --version 1.3.0
#r "nuget: MLVScan.ApiClient, 1.3.0"
#:package MLVScan.ApiClient@1.3.0
#addin nuget:?package=MLVScan.ApiClient&version=1.3.0
#tool nuget:?package=MLVScan.ApiClient&version=1.3.0
MLVScan.ApiClient
Typed C# client for the MLVScan HTTP API.
The low-level client is generated from the API repository's OpenAPI document with Kiota. The
MlvScanClient wrapper provides the common upload and report-polling calls without requiring
callers to work directly with Kiota request builders.
using MLVScan.ApiClient;
var client = new MlvScanClient("mlvscan_api_key");
var upload = await client.CreateUploadUrlAsync("ExampleMod.dll");
var report = await client.GetReportAsync(upload.Data!.SubmissionId!);
var completed = await client.WaitForReportAsync(upload.Data.SubmissionId!);
To look up reports already indexed from Nexus Mods or Thunderstore, search sources first, then fetch the latest source-linked public report:
var sources = await client.ListSourcesAsync(new MlvScanSourceLookupOptions
{
Source = MlvScanSource.NexusModsSchedule1,
ModId = "1194",
IncludeReports = true,
Limit = 1,
});
var latestSubmissionId = sources.FirstOrDefault()?.LatestSubmissionId;
var publicReport = latestSubmissionId is null
? null
: await client.GetPublicReportAsync(latestSubmissionId);
For advanced scenarios, use client.GeneratedClient to access the generated Kiota client.
| 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. net9.0 was computed. 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. |
-
net8.0
- Microsoft.Kiota.Bundle (>= 1.22.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.