Archive

Unofficial Android App Store API

This API is not affiliated with Google, it reads from a database that contains a copy of the Google Play Store, and may not be completely up to date, but is updated regularly. As such, the API is free to use, but we’d appreciate a thank you.

Our API at http://pk.carregistrationapi.com has now been extended to serve an additional 214 million people in Pakistan. Covering the Punjab, Khyber and Gilgit provinces. You can use the API to look up vehicle details and vehicle owner details by supplying a number plate and state.

Pakistan support

Car registration plates in Pakistan use the /CheckPakistan endpoint and return the following information:

Make & Model

VIN number

Age

Engine number

Owner information

Representative image

Currently, 3 provinces of Pakistan are supported, Punjab (PB), Khyber Pakhtunkhwa (KP), and Gilgit–Baltistan (GB). You must provide the province / state value as “PB”, “KP”, or “GB”. additionally, each province returns different data as follows

Khyber-Pakhtunkhwa province

For the Khyber-Pakhtunkhwa province “KP”, you will need to also provide the district where the vehicle was registered, which can be one of; Abbottabad, Bannu, Battagram, Buner,Charsadda,Chitral,Dera Ismail Khan,Hangu,Haripur,Karak,Kohat,Kohistan,Lakki Marwat,Lower Dir (PATA), Malakand (PATA), Mansehra, Mardan, Nowshera, Peshawar,Shangla,Swabi,Swat,Tank,Tor Ghar or Upper Dir.

If your architecture involves both Windows and Linux machines, and suddenly Apache crashes, or you otherwise lose contact with the Linux machine, then normally this requires a linux admin to go in, and restart services. But, you can also have your Windows machine remotely monitor these services, and kick them off itself.

Ok, this is a contrived situation, it’s more about if you’re a good c# programmer but are clueless around linux – like me.

Anyway, there’s a NuGET package which you can install using Install-Package SSH.NET, then you can get C# to connect to your Linux server as follows

CarImagery.com is a website that gives business’ in the auto trade industry access to thousands of quality, licensed stock photos of cars. To spruce up catalogue pages with glossy images of cars.

For $19.99 per month, you get unlimited access to an API, that will look up car images, and return one to you based on your search criteria, or if you prefer to hold the data locally on your own server, you can download our 100MB database of car imagery and data. You can preview a sample of it on the website. – This is updated every 6 months to account for new cars entering the market.

There is a free version to try out, but it is not licensed for commercial or educational use, and will block excessive usage.

For .NET developers, here’s some sample code:

Open a new project in Visual Studio, in this case, we are assuming a console application, but the steps are identical for other project types too.

● Right click on the project, and select Add > Service Reference
● Change the namespace to CarImagery
● Enter the address www.CarImagery.com/api.asmx into the address bar.
● Press OK.
● Enter the following code in the Main() method

Let’s say you want to access a JSON based API, and import that data into SQL server, then your first thought, is that you’re going to need to write some form of application to do this, which calls the API, converts the JSON response to an object, then changes the object into SQL statements and … oh dear, where did the day go?

This great bit of code, sent to me by Tim Sant at Pickles Auctions shows you how to do the whole process within SQL server, so you don’t need any separate application.

The first part, is basically some AJAX preformed from within the SQL server using a COM object MSXML2.XMLHTTP