Documentation

DirectDestinations
in package

A namespaced client for the "/v1/airport/direct-destinations" endpoints.

Access via the Amadeus client object.

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

Table of Contents

$amadeus  : Amadeus
__construct()  : mixed
Constructor
get()  : array<string|int, Destination>
Airport Routes API:

Properties

Methods

get()

Airport Routes API:

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

Find all destinations served by a given airport.

$amadeus->getAirport()->getDirectDestinations()->get( ["departureAirportCode" => "MAD", "max" => 2] );

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/airport-routes/api-reference
throws
ResponseException

when an exception occurs

Return values
array<string|int, Destination>

an API resource

Search results