Documentation

FlightDestinations
in package

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

Access via the Amadeus client object.

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

Table of Contents

$amadeus  : Amadeus
__construct()  : mixed
get()  : array<string|int, FlightDestination>
Flight Inspiration Search API:

Properties

Methods

get()

Flight Inspiration Search API:

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

Find the cheapest destinations where you can fly to.

$amadeus->getShopping()->getFlightDestination()->get(["origin"=>"MUC"]);

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-inspiration-search/api-reference
throws
ResponseException

when an exception occurs

Return values
array<string|int, FlightDestination>

an API resource

Search results