Pandorax.Dvla.VehicleEnquiryService
1.0.0-alpha2
See the version list below for details.
dotnet add package Pandorax.Dvla.VehicleEnquiryService --version 1.0.0-alpha2
NuGet\Install-Package Pandorax.Dvla.VehicleEnquiryService -Version 1.0.0-alpha2
<PackageReference Include="Pandorax.Dvla.VehicleEnquiryService" Version="1.0.0-alpha2" />
paket add Pandorax.Dvla.VehicleEnquiryService --version 1.0.0-alpha2
#r "nuget: Pandorax.Dvla.VehicleEnquiryService, 1.0.0-alpha2"
// Install Pandorax.Dvla.VehicleEnquiryService as a Cake Addin #addin nuget:?package=Pandorax.Dvla.VehicleEnquiryService&version=1.0.0-alpha2&prerelease // Install Pandorax.Dvla.VehicleEnquiryService as a Cake Tool #tool nuget:?package=Pandorax.Dvla.VehicleEnquiryService&version=1.0.0-alpha2&prerelease
DVLA Vehicle Enquiry Service
An API client to access the DVLA Vehicle Enquiry Service
The DVLA Vehicle Enquiry API is a RESTful service that provides vehicle details of a specified vehicle. It uses the vehicle registration number as input to search and provide details of the vehicle
For more information about the DVLA Vehicle Enquiry Service API visit their website
Getting started
Get an API Key
In order to use this project an API key from the DVLA is required. For more information on how to obtain your API key visit the DVLA website
Configure the service
In your startup class add the DVLA Vehicle Enquiry Service
public void ConfigureServices(IServiceCollection services)
{
services.AddDvlaVehicleEnquiryService(Configuration["DvlaApiKey"]);
}
Using the service
Inject the DVLA vehicle enquiry into your class in order to use it.
public class CarService
{
private readonly IDvlaVehicleEnquiryService _vehicleEnquiryService;
public CarService(IDvlaVehicleEnquiryService vehicleEnquiryService)
{
_vehicleEnquiryService = vehicleEnquiryService;
}
}
VehicleEnquiryResponse vehicleDetails = await _vehicleEnquiryService.GetVehicleDetailsAsync(RegistrationNumber);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. 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. |
-
net5.0
- Microsoft.Extensions.DependencyInjection (>= 5.0.2)
- Microsoft.Extensions.Http (>= 5.0.0)
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 |
---|---|---|
1.0.0 | 486 | 10/26/2021 |
1.0.0-alpha2 | 226 | 10/26/2021 |
1.0.0-alpha1 | 240 | 10/26/2021 |