Nmd.Api
1.0.8
dotnet add package Nmd.Api --version 1.0.8
NuGet\Install-Package Nmd.Api -Version 1.0.8
<PackageReference Include="Nmd.Api" Version="1.0.8" />
<PackageVersion Include="Nmd.Api" Version="1.0.8" />
<PackageReference Include="Nmd.Api" />
paket add Nmd.Api --version 1.0.8
#r "nuget: Nmd.Api, 1.0.8"
#:package Nmd.Api@1.0.8
#addin nuget:?package=Nmd.Api&version=1.0.8
#tool nuget:?package=Nmd.Api&version=1.0.8
NMD Api
This project allows you to easily add the Nationale Milieudatabase to your application.
Support
If you have encounter any issues while using this library or have any feature requests, feel free to open an issue on GitHub.
Contributions
Have you spotted a bug or want to add a missing feature? All pull requests are welcome! Please provide a description of the bug or feature you have fixed/added. Make sure to target the latest development branch.
Supported .NET versions
This library is built using net6.0. This means that the package supports the following .NET implementations:
| .NET implementation | Version support |
|---|---|
| .NET and .NET Core | 6.0, 7.0, 8.0 |
Installing the library
The easiest way to install the NPM Api library is to use the Nuget Package.
Install-Package Nmd.Api
Creating a API client
The recommended way to instantiate the API client, is to use the built in dependency injection extension method:
builder.Services.AddNmdApiClient(options => {
options.ClientId = builder.Configuration["NMD:ClientId"];
options.ClientSecret = builder.Configuration["NMD:ClientSecret"];
});
Alternatively, you can create the API client manually using the constructor.
var config = new NMDConfiguration() {
ClientId = "your-client-id",
ClientSecret = "your-client-secret"
};
var client = new NMDClient(new HttpClient(), config);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net6.0
- Microsoft.Extensions.Http.Polly (>= 6.0.28)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.