Latest 0.1.0
Homepage https://github.com/infiniteloopltd/CarRegistrationPod
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

A wrapper for the Car Registration API in Swift. You will require a username and password from http://www.vehicleregistrationapi.com
This API returns car details from a car number plate in many countries worldwide, including the UK, USA, Australia, India. A full list is shown below.

Installation

CarRegistrationPod is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "CarRegistrationPod"

Usage

import CarRegistrationPod
...
let dict = australia_lookup(registrationNumber: "YHC14Y", state: "NSW", username:"***your username***", password:"*** password ***")

label.text = dict["Description"] as? String

Other members of the car_registration package are

  • australia_lookup
  • usa_lookup
  • europe_lookup

Both australia and usa accept four parameters, registrationNumber, state, username and password, and returns a [String: Any]
europe_lookup does not require the state parameter, but instead, requires a endpoint parameter, which can be one of the following strings;

  • 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

Author

Infinite loop Development ltd, http://www.infiniteloop.ie

License

CarRegistrationPod is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "CarRegistrationPod",
    "version": "0.1.0",
    "summary": "Find car registration information from its number plate worldwide",
    "description": "Retrieve car information from its registration number in many countries worldwide, including most ofnEurope, the USA, Australia and India. In order to use this API, you will need to get a usernamenand password from http://www.vehicleregistrationapi.com",
    "homepage": "https://github.com/infiniteloopltd/CarRegistrationPod",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "infiniteloopltd": "[email protected]"
    },
    "source": {
        "git": "https://github.com/infiniteloopltd/CarRegistrationPod.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "CarRegistrationPod/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This