#!/usr/bin/env bash # One-off test: do public airline fare APIs return usable data without auth? set -u echo "=== Ryanair farefinder (PRG-MAD, no auth expected) ===" curl -sS --max-time 20 -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64)" \ "https://services-api.ryanair.com/farfnd/v4/oneWayFares/PRG/MAD/cheapestPerDay?outboundMonthOfDate=2027-03-01¤cy=CZK" | head -c 2000 echo echo echo "=== Wizz Air search API (PRG-MAD, no auth expected) ===" curl -sS --max-time 20 -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64)" \ "https://be.wizzair.com/27.6.0/api/booking/search?departureStation=PRG&arrivalStation=MAD&fromDate=2027-03-10&toDate=2027-03-10" | head -c 1000 echo echo echo "=== easyJet timeout API (PRG-MAD) ===" curl -sS --max-time 20 -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64)" \ "https://www.easyjet.com/api/routepricing/v3/searchfares/GetLowestFares?departureAirport=PRG&arrivalAirport=MAD¤cy=CZK" | head -c 1000 echo