Pandorax.Dvla.VehicleEnquiryService 1.0.0-alpha2

This is a prerelease version of Pandorax.Dvla.VehicleEnquiryService.
There is a newer version of this package available.
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                
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="Pandorax.Dvla.VehicleEnquiryService" Version="1.0.0-alpha2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pandorax.Dvla.VehicleEnquiryService --version 1.0.0-alpha2                
#r "nuget: Pandorax.Dvla.VehicleEnquiryService, 1.0.0-alpha2"                
#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 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 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. 
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
1.0.0 481 10/26/2021
1.0.0-alpha2 226 10/26/2021
1.0.0-alpha1 240 10/26/2021