4

In iPhone App I want to integrate Google Places Api.

Is there any sample project or tutorial which can help me in implementing it?

halfer
  • 19,824
  • 17
  • 99
  • 186
ios
  • 6,134
  • 20
  • 71
  • 103
  • This might help you: http://stackoverflow.com/questions/2864682/how-use-google-api-in-iphone-to-query-hotels-around-my-place – Parth Bhatt Sep 19 '11 at 07:05
  • possible duplicate of [Can I use Google Maps API (Places API) in my iPhone app to find locations near me?](http://stackoverflow.com/questions/4993864/can-i-use-google-maps-api-places-api-in-my-iphone-app-to-find-locations-near-m) – Brad Larson Nov 01 '11 at 18:46
  • Duplicate of the question in the accepted answer: [how use google api in iphone to query hotels around my place](https://stackoverflow.com/questions/2864682/how-use-google-api-in-iphone-to-query-hotels-around-my-place) – halfer Oct 02 '22 at 11:32

4 Answers4

1

Yeah there are one major good tutorial here. It answers all the question

iEinstein
  • 2,100
  • 1
  • 21
  • 32
1

I could implement google Place api from stackoverflow answer

using the url I could get the response and Using JSON parsing I filtered the data as per my requirements

Community
  • 1
  • 1
ios
  • 6,134
  • 20
  • 71
  • 103
0

Not to my knowledge. You will have to create the call yourself. You might want to use Foursquare API (There's a lot of Foursquare Framework for iOS out there).

If you really want to use Google Places API, you will probably be better off using your own implementation (see this question for some links related to the API) with NSURLConnections.

Community
  • 1
  • 1
Pier-Olivier Thibault
  • 3,907
  • 2
  • 33
  • 33
-1

most of the sample above is call http to google server to get places in the iphone app , but it has potential risk since the google server key is easy to be seen by others.

besides,ip restrict is no help in this example.

so the proper way is to pass the parameter to your own server and then call google server at your own server.

chings228
  • 1,859
  • 24
  • 24