The Google Places API for iOS and Google Hosts a Web Service

I plan to have an application for listing neighboring places in UITableViewc UISearchControllercombined with an autocomplete function to filter results from places, and I'm trying to use the Google Places API.

I am confused because I don’t know which API I should use:

  • Google Places API Web Service

or

  • Google Places API for iOS

I did not find a way to get a list of places in the Google Places API documentation for iOS.

  • When to use the Google Places API web service and when to use the Google Places API for iOS? and what works best in my case (get a list of places by page and a filter by name and category)

  • I already created an API key for the Google Places API for iOS, can I use this key in the Google Places API web service?

+3
source share
1 answer

In general, if you are developing for iOS, you should prefer the Google Places API for iOS. It is designed to be easier to use and more efficient with iOS than using a web service.

However, the Places API for iOS is relatively new and does not yet have all the features of the web service. In this case, you can use only the web service or combine the Places API for iOS and the web service.

API- Places iOS getCurrentPlace + Autocomplete. getCurrentPlace , , .

, - + API iOS.

№2: API iOS -. iOS, - . Google.

+4

Source: https://habr.com/ru/post/1687812/


All Articles