views:

125

answers:

1

Hi,

how do I get a list of e.g. Restaurants around me? As far as I can see, google enables JS requests only, right? I would not want to use the WebView for that. Are there any other ways to get it? May be not google? I'm wondering because it's such a common task, but I've found no info on the net about it..

Cheers

+1  A: 

Google's REST API can of course be used from non-JavaScript environments as well: This returns a list of restaurants in Miami - in Json format: http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=restaurants%20miami

This is a Json implementation in Objective-C: http://code.google.com/p/json-framework/

Examples: http://iphonedevelopertips.com/networking/json-framework-for-iphone.html

Regards, Olaf

Olaf Monien
actually part 2 does not seem to be linked:http://iphonedevelopertips.com/cocoa/json-framework-for-iphone-part-2.html
Olaf Monien