AaronSadlerUK / DVLA.VEHICLE.ENQUIRY.SDK

A simple .NETStandard 2.1 SDK for the DVLA Vehicle Enquiry API

Home Page:https://aaronsadler.uk/2020/may/19/released-dvla-vehicle-enquiry-sdk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DVLA.VEHICLE.ENQUIRY.SDK

nuget badge

A simple SDK for access to the DVLA Vehicle Enquiry API

Installation

To be able to use this SDK, you will require an Api Key, which you can apply for from the DVLA.

DVLA.VEHICLE.ENQUIRY.SDK is available from NuGet or as a manual download directly from GitHub.

Usage

You will need to add the following key to your appsettings.json or secrets.json:

  {
    "DvlaVehicleEnquiryApi": {
      "DVLAApiKey": "YOUR KEY HERE"
    }
  }

Then you will then need to register the apikey and SDK in your Startup.cs file

  services.Configure<ApiKey>(Configuration.GetSection("DvlaVehicleEnquiryApi"));
  services.AddDvlaVehicleEnquirySdk();
  services.AddOptions();
  services.AddLogging();

Documentation

Documentation and examples on how the parameters are used to access the api can be found on the dvla vehicle enquiry api website: https://developer-portal.driver-vehicle-licensing.api.gov.uk/apis/vehicle-enquiry-service/v1.1.0-vehicle-enquiry-service.html#vehicle-enquiry-api

Contribution guidelines

To raise a new bug, create an issue on the GitHub repository. To fix a bug or add new features, fork the repository and send a pull request with your changes. Feel free to add ideas to the repository's issues list if you would to discuss anything related to the package.

License

Copyright © 2020 Aaron Sadler.

Licensed under the MIT License.

The DVSA API is Licensed under the Open Government Licence v3.0

About

A simple .NETStandard 2.1 SDK for the DVLA Vehicle Enquiry API

https://aaronsadler.uk/2020/may/19/released-dvla-vehicle-enquiry-sdk/

License:MIT License


Languages

Language:C# 100.0%