google local search results in XML/JSON format - google-maps

I would like to issue a local search on Google maps (e.g. list of restaurants for a given location), and I would like to get the (Restaurants data) data back in JSON/XML or other similar format. What's the best way to do it?
Thanks!

I found this http://code.google.com/apis/ajax/playground/#center_localsearch if it helps

Related

How to get grocery stores list as google showing in map

I am using Google Places API to get grocery stores list.
Query:
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=32.715738,%20-117.161084&radius=12218&type=grocery_or_supermarket&key="GoogleAPIKey"
It is giving me some different data.
But I want list data like google provides in google map search as showing in attached screenshot: -
Is there any other way to get this list in json/xml format?
Please help. Thanks in advance.
You use type for searching with the API, but when you are on the maps webpage you use plain text.
If you use this link you get almost the same results as on the webpage except for Food 4 Less
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=32.715738, -117.161084&radius=2000&keyword=Grocery store&key=
Using the API you posted i was able to get a result that looks like what google explained in the documentation https://developers.google.com/places/web-service/search, if you can update your question by adding the response you are getting, maybe it will be easy to help you
Thanks for the suggestion guys.
I have resolved my query by using textsearch google api as mentioned below: -
https://maps.googleapis.com/maps/api/place/textsearch/json?location=""&radius=12218&type=grocery&key="GoogleAPIKey"
Thanks.

Free geocode API allowing store names and coordinates

My application should allow users to store events and their locations and then perform search on them - so I need those locations in my database with their names and latitudes/longitudes. Google API doesnt allow storing anything else but place IDs so I have to find something else that can autocomplete/suggest places on UI and allow storing it my database.
Does anyone know such a good service?
You can simply add your points in your DB based on each point Lat & Long values. So when user is searching somewhere you have his current location(Lat-Long), Therefore you can search in your DB and get the distance of each saved point with current location and retrieve the results you want to show (i.e in JSON format).
In client-side use some auto-complete jquery library to show the nearby places and somethings like that (with additional information).
Google Map API has a service that you can show some custom marker on the map with your custom configuration like marker icon, description and etc. You can show your additional information in description as HTML format.
You can see some example here:
Customizing a Google Map: Custom Markers
Hope these tips would be helpfull. Regards.
Suddenly I've found an answer that helps me:
https://productforums.google.com/forum/#!topic/maps/hNc1OOU6Zm8
So I can use some Google's data under some conditions.

Google Map advice

I've never used Google Maps for web sites.
I would like to know if it's possible to use it without having coordinates in my database? I only have the name of a city.
I want to get city names from json response, and show all events locations on google map.
Thanks!
yes. and there are lots of examples here at SO and on Google.

Google Map Result as XML or JSON

I have this url to view the nearest hospitals with the given coordinates.
http://maps.google.com/maps?q=hospitals+near+{lat},{long}
Is their a way to get the results in XML or JSON?
Thanks!
You have lots of options, starting here. IF you want a URL you can query and get back XML or JSON then go here.
Those are links directly to the Google APIs documentation. You have many options available including a JavaScript API as well as a web service that can retrieve JSON or XML.

Google provide JSON form query result?

I am doing some web mining tasks using Google.
Though using the ordinary Google search engine might help, I still need to analyse the web pages.
I want to ask:
Does Google provide query results in JSON form?
PS:
I know one place,Google Custom Search, but the query amount for free user is limited, which can not satisfy my need.
So, anyone know other solutions?
Google does not provide search results in JSON format unless you use the custom search API.
A 'Bing search engine' query can be run through a Yahoo Pipe and posted out as JSON.