2017 © Pedro Peláez
 

library carregistration

Look up car details from a number plate in many countries worldwide. Account required from www.vehicleregistrationapi.com

image

infiniteloop/carregistration

Look up car details from a number plate in many countries worldwide. Account required from www.vehicleregistrationapi.com

  • Friday, August 18, 2017
  • by infiniteloop
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PHPCarRegistration

A PHP Package to look up car registration information (Account required from www.vehicleregistrationapi.com), (*1)

Usage

require_once 'vendor/autoload.php';

use carregistration\carregistration;

$conv = new carregistration;

$json = $conv->lookup('***your username***','CheckUSA','H84jae','nj');
print_r($json->Description);    

Parameters

The function "lookup" returns an associative array that differs by country, but maintains consistency where possible. It accepts four parameters, being username, endpoint, registration number and state, in that order., (*2)

The username is that which is used on www.vehicleregistrationapi.com, (*3)

The endpoint specifies the country to be searched, and must be one of the following., (*4)

  • Check (UK)
  • CheckBelgium
  • CheckCroatia
  • CheckCzechRepublic
  • CheckDenmark
  • CheckEstonia
  • CheckFinland
  • CheckFrance
  • CheckHungary
  • CheckIndia
  • CheckIreland
  • CheckItaly
  • CheckNetherlands
  • CheckNewZealand
  • CheckNigeria
  • CheckNorway
  • CheckPortugal
  • CheckRussia
  • CheckSlovakia
  • CheckSouthAfrica
  • CheckSpain
  • CheckSriLanka
  • CheckSweden
  • CheckUAE
  • CheckUSA
  • CheckAustralia

The state parameter is only used for USA and Australia, and can be left empty for all other countries., (*5)

The Versions

18/08 2017

dev-master

9999999-dev

Look up car details from a number plate in many countries worldwide. Account required from www.vehicleregistrationapi.com

  Sources   Download

Creative Commons

by Infinite Loop