Nhtsa.SDK
0.1.0
dotnet add package Nhtsa.SDK --version 0.1.0
NuGet\Install-Package Nhtsa.SDK -Version 0.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nhtsa.SDK" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nhtsa.SDK --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nhtsa.SDK, 0.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Nhtsa.SDK as a Cake Addin #addin nuget:?package=Nhtsa.SDK&version=0.1.0 // Install Nhtsa.SDK as a Cake Tool #tool nuget:?package=Nhtsa.SDK&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
NHTSA unofficial .NET Client SDK
.NET SDK providing easy access to the NHTSA's APIs (Vehicle, Recalls, etc.). This NuGet package enables developers to retrieve vehicle safety information, recalls, complaints data, etc.
Installation
The package can be obtained from NuGet.
Package Manager (PM):
> Install-Package Nhtsa.SDK
CMD:
> dotnet add package Nhtsa.SDK
Bash:
$ dotnet add package Nhtsa.SDK
Usage
We can interact with NHTSA APIs as follows:
using OneOf;
using Nhtsa.SDK.Errors;
using Nhtsa.SDK.Clients.Vehicles;
using Nhtsa.SDK.Models.Vehicles;
// get all Makes from the Vehicles API
VehiclesClient vc = new VehiclesClient();
OneOf<GetAllMakesResponse, ApiError> result = await vc.GetAllMakesAsync();
Goals
- Easily interact with NHTSA APIs data (recalls, complaints, safety ratings) via simple .NET SDK clients.
- Enable seamless integration of NHTSA in potential APIs and CLI applications.
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 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
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.1.0 | 93 | 9/27/2024 |
0.0.1 | 100 | 9/26/2024 |
0.0.1-alpha | 70 | 9/25/2024 |