开发者

iPhone app: how to implement Google Places Api

开发者 https://www.devze.com 2023-04-04 08:18 出处:网络
In iPhone App I want to integrate Google Places Api. Is there开发者_StackOverflow any sample project or tutorial which can help me in implementing it?I could implement google Place api from stackoverf

In iPhone App I want to integrate Google Places Api.

Is there开发者_StackOverflow any sample project or tutorial which can help me in implementing it?


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


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


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消