To run the example project, clone the repo, and run
pod install from the Example directory first.
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.
CarRegistrationPod is available through CocoaPods. To install it, simply add the following line to your Podfile:
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
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)
Infinite loop Development ltd, http://www.infiniteloop.ie
CarRegistrationPod is available under the MIT license. See the LICENSE file for more info.