A service which accepts a VRM (Vehicle Registration Mark) and returns the estimated impact of the vehicle to the environment by means of CO2 (Carbon Dioxide) production every year, whilst also recommending the offset.
The following environment variables must be defined when running this script:
The key used to authenticated requests to MOT History API Service
https://dvsa.github.io/mot-history-api-documentation/
The API URL for MOT History. Most likely be:
https://beta.check-mot.service.gov.uk/trade/vehicles/mot-tests
The key used to authenticate requests to DVLA Vehicle Enquiry Service API
The API URL for DVLA Vehicle Enquiry Service API. Most likely be:
https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry/v1/vehicles/