AjsWebDesign.DVSA.MOT.SDK 1.0.1

Install-Package AjsWebDesign.DVSA.MOT.SDK -Version 1.0.1
dotnet add package AjsWebDesign.DVSA.MOT.SDK --version 1.0.1
<PackageReference Include="AjsWebDesign.DVSA.MOT.SDK" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AjsWebDesign.DVSA.MOT.SDK --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AjsWebDesign.DVSA.MOT.SDK, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AjsWebDesign.DVSA.MOT.SDK as a Cake Addin
#addin nuget:?package=AjsWebDesign.DVSA.MOT.SDK&version=1.0.1

// Install AjsWebDesign.DVSA.MOT.SDK as a Cake Tool
#tool nuget:?package=AjsWebDesign.DVSA.MOT.SDK&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

DVSA.MOT.SDK

A simple SDK for access to the DVSA MOT history API

Installation

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

DVSA.MOT.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:

  {
    "MotApi": {
      "DVSAApiKey": "YOUR KEY HERE"
    }
  }
 

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

  services.Configure<ApiKey>(Configuration.GetSection("MotApi"));
  services.AddDvlaMotSdk();
  services.AddOptions();
  services.AddLogging();

Documentation

Documentation and examples on how the parameters are used to access the api can be found on the dvsa api history website: https://dvsa.github.io/mot-history-api-documentation/

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

  • .NETStandard 2.1

    • No dependencies.

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.1 229 5/19/2020
0.0.9 156 10/20/2020

1.0.1 Fixed project url