Building location-based apps with the Places API

Published by Darron Toy on



hi I'm Justin Chu product manager the places API today I'm going to talk about how you can use the places API to build location-based applications location-based applications becoming all the rage and for good reason with mobile devices apps are always at hand and provide an incredible value based on the end-users location and context there's a number of Google services out there to help you integrate location into your app including Google's geofencing and geocoding API s Moses API so ever are typically based on user coordinates where the places API excels is that a partner's user location with accurate comprehensive local data so your app is a limited working just with coordinates but instead real places places like the Sydney Opera House can help your app provide more viable use cases than just using geographic coordinates sharing a place to meet attaching location to a status update adding events to a place or even creating a list of must-see attractions all become much easier when you work with real world places so with that let's take a closer look at the places API the places API is part of the larger Google Maps API product family and you can use the API through either a JavaScript library or a standalone HTTP web service the library is available via the Maps JavaScript API v3 the plays API is a rich local search API that includes several powerful location-based features that connect your end-users to places they care about one of the biggest features of the places API is our data quality the Google Places API is powered by the same local listings database that powers Google Maps which includes over 100 million listings all around the globe these places are all vetted and moderated by numerous teams in order to become a real Google place so developers can rest easy that their apps are using the most up-to-date comprehensive and accurate model of the world then moving from the data set of things to more of the smarts how many times have you grown when faced on the address form on a mobile app don't your thumbs deserve something better than typing in a full address on a small keyboard as both a user and a developer you know that while typing and location or address is hard work it's often a vital part of a user flow otherwise how can it absent a taxi to the right pickup location know what area user wants to rent an apartment in or ship the product to the right address to help your app get the data it needs and limit the pain for your end users the places API offers an autocomplete service which provides type-ahead search functionality that both air B&B and sunrise calendar already used today the autocomplete API allows you to choose what types of places you want to get back so if you're a real estate app that only cares about cities or a travel planning app that only cares about establishments or let's say a geo-tagging app that cares about both autocomplete can be customized to suit your needs if you can't tell already we're huge fans of autocomplete and with its clear benefits of both developers like you and your end users we believe it's a no-brainer integration for any location based application in addition to autocomplete another one the places API s primary features is search the places API has two main flavors of search nearby search and text search nearby search allows you to define a particular radius to discover and explore establishments close by text search returns information about a set of places based on a query string it's like having the matching of Google Maps search box inside your own application both endpoints also include various knobs and levers that you can customize what type of data is returned for example in this map we're only showing museums around central sydney showing specific types of places is only one of the many customizations you can do you can also choose to return to your end users only places are open now or ones at a specific price level where the places API search features you can enable your users to find explore and share places that matter to them finding a place was often just the first step and users might want more information about a place beyond just its name location and type for example if you're building a travel planning tool which suggests restaurants shops and sites in hotels your users will likely new access to phone numbers price levels and hours operation to complete their reservations it also likely need photos and reviews to help with picking the best place to stay visit and eat this valve a place formation along with the handful of other useful data fields it's all available with the places API detail service it replaces details all you do is identifier which is returned from both the search and autocomplete services now while we're extremely confident about Google's local list data freshness we also know that the world's places change very very quickly and sometimes your end-users may know more about new places before we do the places API allows you to add new places so that your users can interact with them immediately perhaps your apps encourages users to share exciting places with friends what happens if someone discovers a shiny new Google shoe store and can't find out the API you can use the added place action to add the place to the app so that your users can always interact with their model of the world in addition to Google's this is a very quick overview of the places API there's so much more you can do please click this link to get your documentation we also have a thriving community developers on Stack Overflow where you can ask technical questions and find tons of advice and insight about how to best use the places API thanks so much for checking out this video I look forward to seeing what you can do with the Google Places API


13 Comments

MAGICSHOTS · May 14, 2019 at 7:22 pm

hey bro can you please post you contact detailes ? i need a help related to location based android appplication can you please help me ?

Carole Pitts · May 14, 2019 at 7:22 pm

Hello Justin, You seem like you know your stuff and I wonder if you could help me with something. I have API on my site and it says in a drop down that my site wants to use the users location yes/no. When you click yes instead of finding the persons postcode it instead just shows ENGLAND I know I am cheeky asking but I have asked everyone I can think of and you sound knowledgeable and I am desperate for help. The website that put it together Brilliantdirectories don't know the answer and I am pulling my hair out. Thanking you in advance

Khawar Malik · May 14, 2019 at 7:22 pm

please provide some tutorials for Google Maps.
For Example, Place Picker, custom info window etc

Atul Waghmare · May 14, 2019 at 7:22 pm

Thanks for the informative video created and shared keep it up!!

RAVI KIRAN KONDA · May 14, 2019 at 7:22 pm

Good and informative vedio by Google Devlopers

Kavin Raju S · May 14, 2019 at 7:22 pm

Hi Google,
Could you please give me a set of code executing those functionality?

Stevian S · May 14, 2019 at 7:22 pm

please answer my question http://stackoverflow.com/questions/33817785/autocomplete-google-places-get-error-this-api-project-is-not-authorized-to-use

Rooks14 · May 14, 2019 at 7:22 pm

Is it possible to implement this in Unity…? Android Device as the specific target platform… If yes… Can you please walk me through the process…?

Marie Harmsen · May 14, 2019 at 7:22 pm

Yo google please give some tutorials and examples of how to use this <3 Good video, but I know what it does, just want to know how to implement it properly

Jack Zhao · May 14, 2019 at 7:22 pm

Hi Chu,this is Jack,i'd like to know which google places api application that Airbnb.com used at the homepage.Would you give me some tips please?

Kaichang Wu · May 14, 2019 at 7:22 pm

Whoo, thanks for your short introduction, it really helped me.

John Grover · May 14, 2019 at 7:22 pm

Great info.

mrkevinfielding · May 14, 2019 at 7:22 pm

j chu!

Leave a Reply

Your email address will not be published. Required fields are marked *