@2bad/ryanair
Advanced tools
Changelog
[7.0.0] - 2024-01-23
got
dependency to v14.airports.getSchedules
method.airports.getNearby
method.getFirstDayOfEachMonthInRange
now throws a RangeError
if the end date is before the start date.Changelog
[6.0.1] - 2023-11-03
swc
and tsc
were generating module specifiers with the .ts
extension by utilizing the fix-ext.sh
scriptChangelog
[6.0.0] - 2023-10-31
got
based client since cookie modification is impossible with fetch
.find...
:
getCheapestRoundTrip()
-> findCheapestRoundTrip()
getDailyFaresInRange()
-> findDailyFaresInRange()
airports.findRoutes()
- to find available routes between two airports.airports.calculateDistance()
- calculates distance between two geo points using the haversine formula.Changelog
[5.0.0] - 2023-07-20
got
HTTP client dependency. This was previously used for cookie spoofing, which is no longer required.Changelog
[4.0.0] - 2023-06-23
airports.searchByPhrase
and airports.searchByRoute
methods have been removed as the autocomplete
endpoint can no longer be publicly accessed.fares.getCheapestRoundTrip
method has been added, which finds the cheapest round trip fares for a given route and date range in a specific currency.tsc
to swc
.allowImportingTsExtensions
has been set to true.Changelog
[3.0.0] - 2023-05-20
fares.cheapestPerDay()
has been renamed to fares.getCheapestPerDay()
. This change was made to maintain consistency across all other methods.Changelog
[2.0.2] - 2023-05-11
mkt
cookieuser-agent
header to valid browserChangelog
[2.0.1] - 2023-05-10
ERR_UNSUPPORTED_DIR_IMPORT
error for module import by resolving full path in build output with tsc-alias
Changelog
[2.0.0] - 2023-05-08
fetch
with got
resulted in the loss of support for browsers.vitest
to 30 seconds