Skip to main content

Ignav

@keeb/ignavv2026.11.17.1· MIT· 4d agoBEHAVIORS
01README

Flight fares from Ignav, for answering "which flight gets me there in time": search one-way legs by route and date, filtered by airline, nonstop and departure/arrival hour windows; fan out over every outbound and return candidate of a trip in one execution; and get the airline's booking link for the flight you pick. Times are stored local to each airport with timezone and UTC.

02Behaviors1
@keeb/ignavv2026.11.17.1ignav.ts

Global Arguments

ArgumentTypeDescription
apiKeystringIgnav API key (X-Api-Key)
baseUrl?stringIgnav API base URL
fn search()
Search one-way fares for one route and date, optionally filtered by airline, stops and departure/arrival hours.
fn search_legs(legs: array, concurrency?: number)
Search several one-way legs in one execution (e.g. every outbound and return candidate of a trip). Writes fares/<key> per leg and a trip/<label> digest; a leg that fails is recorded on that leg and the run continues.
ArgumentTypeDescription
legsarray[{key, origin, destination, date, airlines?, maxStops?, departAfter?, departBefore?, arriveAfter?, arriveBefore?, cabin?, adults?}]
concurrency?number
fn booking_links(ignavId?: string, carrier?: string, flightNumber?: string)
Get booking links for one itinerary: pass `ignavId` from a search, or origin + destination + date + carrier + flightNumber. Airline sellers are listed first.
ArgumentTypeDescription
ignavId?string`ignavId` of an option from search / search_legs (preferred)
carrier?stringe.g. UA
flightNumber?stringe.g. 796

Resources

fares(infinite)— One one-way leg search: the query, and every option ordered by departure (flight numbers, local and UTC times, stops, duration, price, `ignavId`). Keyed by `label` (search) or the leg `key` (search_legs); each run appends a version.
trip(infinite)— Digest of one search_legs run: per leg the option count, earliest arrival, latest departure, cheapest price and flight numbers, or the error. Keyed by `label`.
booking(infinite)— Where one itinerary can be bought: the refreshed itinerary and each seller's link, airline sellers first. Keyed by `label`.
03Stats
A
100 / 100
Downloads
2
Archive size
12.2 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
04Platforms
05Labels