Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What gas-stations, restaurants etc are in the certain city?

Tags:

php

api

Are there any APIs where I can show the list of gas-stations, restaurants etc. in the certain city or even better by post number? Thank you.

like image 861
good_evening Avatar asked Aug 21 '11 01:08

good_evening


4 Answers

Google offers an SQL API that can interact with their Fusion Tables. You should be able to achieve what you are looking for with it.

http://code.google.com/apis/fusiontables/docs/developers_guide.html

like image 170
Steve Buzonas Avatar answered Nov 16 '22 02:11

Steve Buzonas


Yes, it's called a business directory. You'll need to purchase the file. Depending on your usage, the price will vary. Here's one description.

You could also scrape Google Local, Yahoo or other web sites. But any use other than personal will be against their tos (terms of service).

ps And probably any scraping, by definition, would also not be ok.

like image 26
Larry K Avatar answered Nov 16 '22 02:11

Larry K


Take a look at :

http://www.webmonkey.com/2010/02/get_local_search_results_with_google_maps_and_ajax_apis/

It might be a starting point for what you need.

like image 3
Pedro Lobito Avatar answered Nov 16 '22 02:11

Pedro Lobito


There are several API services available that will help you find businesses for given location. These services are commonly known as directory, local, places or map search. One of the more complete list can be found at Programmable Web. For example, take a look at Google Local, TownMe Geo, Yahoo Local Search, SimpleGeo and Bing Maps Search. Be sure to read Term of Services because most of these services allow only certain number of requests per day and many don't allow commercial usage. For example, TownMe and SimpleGeo have relatively relaxed terms while Yahoo doesn't have commercial license but they are OK with non-commercial use for up to 5000 queries per day.

like image 3
Shital Shah Avatar answered Nov 16 '22 03:11

Shital Shah