AWeirdDev/flights — reverse-engineered prompt
Reverse engineered prompt
Build me a small Python package that works like a simple Google Flights search API.
I want to be able to ask for flights by giving a date, from airport, to airport, trip type, seat type, passenger count, and language, then get back flight results from Google Flights in a clean Python object or dictionary. It should feel easy to use, like creating a flight query and calling one function to fetch results.
Please make it fast and avoid relying on a full browser unless it’s needed as a fallback. The project should support one way, round trip, and multi city searches, common seat classes, and basic passenger options. It should also have a small example script that shows how to search for a flight, plus clear README instructions for installing and using it.
If an optional proxy or scraping integration is useful, include a clean hook for that, but keep the main package simple. Look up current docs online if you need to.
Want more depth? Deep Reverse