?
Solved

Google HTTP API - Need XML not JSON

Posted on 2010-01-06
2
Medium Priority
?
317 Views
Last Modified: 2013-12-08
I am using the simple query http://local.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=food+92130&hq=food&hnear=San diego,+CA+92130&output=json

It currently returns JSON but I need XML.  What flag do I use to get this local query t return XML?

Thanks!
0
Comment
Question by:TedgCl
2 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 26198353
Well, according to the API documentation you should just change the "output" parameter of your request from "json" to "xml", so it becomes:

 http://local.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=food+92130&hq=food&hnear=San diego,+CA+92130&output=xml
0
 

Accepted Solution

by:
TedgCl earned 0 total points
ID: 26201890
Yes, but if you try setting output=xml it doesn't work.  Any other ideas?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By following these Magento e-commerce development tips, you can increase your website's conversion and profitability. Read this post for more details.
No other job is as rewarding and demanding as building an iPhone app is. It is not really in the hands of the developer for the success of an iPhone app. Many factors operate jointly for every iOS application's success in the market.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question