{"repo":"2BAD/ryanair","free":true,"listed":false,"github":"https://github.com/2BAD/ryanair","clone":"git clone https://github.com/2BAD/ryanair.git","description":"Unofficial typescript client for the Ryanair API that allows you to easily retrieve information about airports, flights and prices.","language":"TypeScript","stars":31,"topics":["api-client","client","rest","rest-client","ryanair","typescript"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Ryanair API Unofficial TypeScript client for Ryanair's API that provides easy access to flights, fares, and airport information. Install Warning: This package is native ESM and no longer provides a CommonJS export. If your project uses CommonJS, you will have to convert to ESM or use the dynamic import() function. Please don't open issues for questions regarding CommonJS / ESM. Usage API Overview Airports API - Get active airports list - Find nearest airports - Discover available destinations - View airport details - Search flight routes View Airports Documentation → Fares API - Find cheapest daily fares - Compare prices across date ranges - Discover best round-trip deals - Search by currency preference View Fares Documentation → Flights API - Check flight availability - View flight schedules - Search available dates - Access flight details View Flights Documentation → Notes on the booking API flights.getAvailable() calls /api/booking/v4/ /availability . The endpoint checks for a fr-correlation-id cookie (any value, just has to be present) and a client-version header matching the currently-deployed Ryanair web build. The package generates the cookie itself and ships a default client-version as a starting guess. That pin gets retired whenever Ryanair ships a new frontend. When it happens the next getAvailable() call returns 409 Availability declined , the client scrapes the current version from ryanair.com, updates its in-memory pin, and retries. Nothing for you to do. If you'","default_branch":null,"files":null,"tree":[],"storefront":"/r/2BAD","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/2BAD/ryanair/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}