开发者

Car make & model lookup? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and canno开发者_如何转开发t be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I'm designing a used car sales website and the client would like for customers looking to sell their car to have the ability to enter their car registration number plate, and for the site to pull back the make and model automatically.

There are many sites that do this (http://www.halfords.com / http://www.gocompare.com / http://www.confused.com / etc)

But I'm drawing a blank with several hours of googling providing nothing of use.

Can anyone provide a clue?

EDIT:

The sites listed allow a user to put their registration into the site, and it tells them what make and model the car is.

I wan't to replicate this functionality on the website I am designing. OBVIOUSLY they have a giant database, or more likely access to a webservice somewhere which gives them the details.

But I cannot find said service or database.

Please can you provide information on where to look?

EDIT 2:

Basically.. I'm after a UK version of this service: http://www.webservices.nl/en/1156/vehicle


The source for all this info is the DVLA. A quick google and look around their website produces: http://www.dft.gov.uk/dvla/data.aspx


Assuming the sites' TOS don't explicitly forbid your site from connecting to it in background, you should be able to (from a legal and technical standpoint) write a script that connects to these sites in the background.

Best policy would be to contact these sites to find out if they allow this. Even if their TOS doesn't state this to be a problem, there could be some legal issue that I'm not aware of.

There are lots of tutorials on doing this. For instance, using PHP & Curl, one could do this (example tutorial: http://davidwalsh.name/execute-http-post-php-curl)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜