Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Api(axios: AxiosInstance): Api

Properties

Protected axios

axios: AxiosInstance

Methods

accommodation

  • accommodation(searchId: string, resultId: string): Promise<Array<AccommodationUnit>>

departures

  • departures(searchId: string): Promise<Array<Departure>>

flights

  • flights(searchId: string, resultId: string): Promise<Array<Flight>>
  • Get the flight options for a departure

    Parameters

    • searchId: string

      ID of the result set, created with search

    • resultId: string

      ID of the result item, found with departures

    Returns Promise<Array<Flight>>

search

Generated using TypeDoc