fast-flights

fast-flights

Python API for Google Flights data

Description

Watching airfares with a script is hard when Google Flights has no public API and page scraping is slow and brittle. fast-flights is a strongly typed Python library that queries Google Flights through encoded Protobuf parameters, making it fast and more robust.

Set origin, destination, dates, time windows and stops per leg, plus cabin class and passengers for the whole search, with local Playwright as a fallback.

Features



Per-leg filters:Dates, times and stops for each leg.

Search options:Cabin, passengers and currency.

Typed results:Structured flight data objects.
Tags:python