Nhtsa.SDK
0.0.1-alpha
This is a prerelease version of Nhtsa.SDK.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Nhtsa.SDK --version 0.0.1-alpha
NuGet\Install-Package Nhtsa.SDK -Version 0.0.1-alpha
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.0.1-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nhtsa.SDK --version 0.0.1-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nhtsa.SDK, 0.0.1-alpha"
#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.0.1-alpha&prerelease // Install Nhtsa.SDK as a Cake Tool #tool nuget:?package=Nhtsa.SDK&version=0.0.1-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Nhtsa.SDK
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.
Usage
After installing from NuGet:
Via Package Manager (PM):
> Install-Package Nhtsa.SDK
Via CMD:
> dotnet add package Nhtsa.SDK
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 | 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.
-
net8.0
- OneOf (>= 3.0.271)
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 | 88 | 9/27/2024 |
0.0.1 | 97 | 9/26/2024 |
0.0.1-alpha | 70 | 9/25/2024 |