Documentation

FlightDates
in package

A namespaced client for the "/v1/shopping/flight-dates" endpoints.

Access via the Amadeus client object.

$amadeus = Amadeus::builder("clientId", "secret")->build(); $amadeus->getShopping()->getFlightDates();

Table of Contents

$amadeus  : Amadeus
__construct()  : mixed
get()  : array<string|int, FlightDate>
Flight Cheapest Dates Search API:

Properties

Methods

get()

Flight Cheapest Dates Search API:

public get(array<string|int, mixed> $params) : array<string|int, FlightDate>

Find the cheapest flight dates from an origin to a destination.

$amadeus->getShopping()->getFlightDates()->get( array( "origin" => "MAD", "destination" => "LON" ) );

Parameters
$params : array<string|int, mixed>

the parameters to send to the API

Tags
link
https://developers.amadeus.com/self-service/category/air/api-doc/flight-cheapest-date-search/api-reference
throws
ResponseException

when an exception occurs

Return values
array<string|int, FlightDate>

an API resource

Search results