serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
56 stars 6 forks source link

[Google Flights API] Convert Location Names to Airport Codes #1623

Open schaferyan opened 6 months ago

schaferyan commented 6 months ago

A customer requested support for converting location names to airport codes.

We might be able to scrape this using Google Flights Autocomplete:

Screenshot 2024-05-23 at 12 14 28 PM

Potentially we could also compile a list or serve these as a separate API, similar to our Locations API or Walmart Stores Locations.

Potentially we could also get kgmids from the Wikidata Rest API. I've suggested that as a workaround for the customer.

Intercom | Wikidata Rest API

martin-serpapi commented 5 months ago

Another user requested this:

Front | Intercom

hilmanski commented 1 month ago

One way to convert a city name to IATA code is using our Google answer box API. We can use this as a temporary suggestion to a customer.

Here is an example: Playground: search for airport code for Beirut