Let me try to answer your questions as you asked them: 1. What is the syntax to access the local search api? Are there examples or an API specification that I could use?
If you're using the API outside of a Javascript-enabled environment, then the API has a simple RESTful interface. All options and parameters are simply provided in the url that you request from Google. These options and parameters are documented at the links below: http://code.google.com/apis/ajaxsearch/documentation/index.html#fonje http://code.google.com/apis/ajaxsearch/documentation/reference.html#_intro_fonje In return, you will receive a JSON string which you will need to parse to get the documentation. http://www.json.org provides links to a number of resources to do this, depending on your development environment. So, in answer to your question, there is no hard and fast syntax or framework beyond constructing an appropriate url and requesting it via the http utilities provided in your development environment (e.g., UserAgent in Perl, curl in PHP, WebClient in C#). There are no different API calls, functions or methods. It's just the three step process of (1) build your url, (2) request your url, and (3) parse the JSON response to use as you will. 2. The terms and conditions state... Although I am not a legal expert and would strongly recommend that you consult one if you have any doubts, I would interpret the TOU to mean that no, you may not display Google search results on a map other than one provided via one of the many branches of the Google Maps API (e.g., Javascript, Flash, static, etc.). Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com http://jgeerdes.blogspot.com http://jgeerdes.wordpress.com [email protected] Unless otherwise noted, any price quotes contained within this communication are given in US dollars. If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com ! On Jun 25, 2009, at 3:33 PM, Graham Garvey wrote: > > Hi I hope this is the correct group to post these questions to. > > We were hoping to integrate Google local search into our navigation > application (Urban Horizon) for use on smartphones. My questions are: > > 1. What is the syntax(, or is it possible) to access the local search > api? Are there examples or an API specification that I could use? > > 2. The terms and conditions state: > > "display Google Search Results for local search geospatially except by > using the Google Maps service". > > Does this mean that I cannot your our map database (also supplied by > TeleAtlas) to geocode the resultant addresses and provide a route to > the destination outside of the Google Maps application? > > I went throught the API description at > http://code.google.com/apis/ajaxsearch/documentation/#fonje and would > appreciate if someone can point me to the different API calls. > > Thanks very much, > Graham > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
