Documentation

OnTime
in package

A namespaced client for the "/v1/airport/predictions/on-time" endpoints.

Access via the Amadeus client object.

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

Table of Contents

$amadeus  : Amadeus
__construct()  : mixed
Constructor
get()  : OnTimePrediction
Airport On-Time Performance API:

Properties

Methods

__construct()

Constructor

public __construct(Amadeus $amadeus) : mixed
Parameters
$amadeus : Amadeus
Return values
mixed

get()

Airport On-Time Performance API:

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

Returns a percentage of on-time flight departures from a given airport.

$amadeus->getAirport()->getPredictions()->getOnTime()->get( ["airportCode" => "NCE", "date" => 2022-11-01] );

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-on-time-performance/api-reference
throws
ResponseException

when an exception occurs

Return values
OnTimePrediction

an API resource

Search results