Google Places

Introduction

The information we are currently displaying about an airport is limited to the airport name and IATA code. As you saw when we designed the info card, we left a placeholder to place an image of the airport. We can also add more information about each airport such as the address, phone number, website address, etc.

To get this information, we will be using the Google Places API. Google Places allow you to get detailed information about over 100 million places across various categories. You know when you click on a place on Google Maps, and it opens a side panel with more information? Well, we can get that same information using the Google Places API. Let’s look at how we can use it to retrieve more information about an airport.


If you find this book helpful and want to return the favour, you can Buy me a coffee


Hey, while you're here: I publish a weekly newsletter for ASP.NET Developers called ASP.NET Weekly, which helps you stay up to date on all the latest ASP.NET related news and blog posts. Please check it out and subscribe!