saraswatayu

saraswatayu / swoop

Public

Search Google Flights programmatically. Real prices, typed results, no API key.

21
2
69% credibility
Found Mar 11, 2026 at 16 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

Swoop is a Python library and command-line tool for searching Google Flights to retrieve real-time flight prices, itineraries, and booking options without requiring an API key.

How It Works

1
🛩️ Discover Swoop

You hear about Swoop from a friend who uses it to find cheap flights quickly without signing up for anything.

2
📦 Get Swoop ready

You add Swoop to your computer with a simple one-line instruction, and it's ready in seconds.

3
🔍 Search for flights

Tell Swoop where you're flying from and to, pick a date, and maybe add preferences like nonstop or business class.

4
💰 See real deals

Swoop shows you the best flight options with actual prices, airlines, times, and stops, just like on the travel site.

5
📋 Check fare choices

Pick a flight option and ask Swoop for the different ticket types and their exact costs.

Book smarter

You spot the cheapest or best-fitting flight, save money, and feel great about your smart travel find.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 16 to 21 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is swoop?

Swoop is a Python library and CLI for searching Google Flights programmatically, delivering real prices, flight details, and fare options without an API key. Run `swoop search JFK LAX 2026-06-15` in your terminal for nonstop business class results in table, JSON, or CSV, or call the search function in code for typed itineraries with filters like airlines, departure windows, and max stops. It bypasses web scraping hassles, like searching GitHub code or Google Maps, to grab structured travel data fast.

Why is it gaining traction?

Unlike paid APIs from Kayak or brittle Selenium scrapers, swoop mimics browser requests to Google's internal endpoints for reliable, real-time results—no CAPTCHA fights or HTML parsing. The CLI shines for quick queries like `swoop book 1` to see fare tiers, while Python integration offers retries and sorting by cheapest or duration. Production use by Perch for price monitoring proves it handles alerts without fluff.

Who should use this?

Travel app builders automating fare alerts or price trackers. Devs searching Google Flights data for analytics, like route trends or emissions comparisons. Backend teams needing cheap flight search in Python scripts, similar to searching GitHub issues or repos for strings.

Verdict

Grab it for prototypes or personal tools—CLI and docs are polished, Python API is intuitive. With 10 stars and 0.7% credibility score, it's beta-risky (undocumented endpoints may shift), but retries mitigate rate limits effectively.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.