Covid19AreaReport
in package
A namespaced client for the "/v1/duty-of-care/diseases/covid19-area-report" endpoints.
Access via the Amadeus client object.
$amadeus = Amadeus::builder("clientId", "secret")->build(); $amadeus->getDutyOfCare()->getDiseases()->getCovid19AreaReport();
Table of Contents
- $amadeus : Amadeus
- __construct() : mixed
- Constructor
- get() : DiseaseAreaReport
- Travel Restrictions API:
Properties
$amadeus
private
Amadeus
$amadeus
Methods
__construct()
Constructor
public
__construct(Amadeus $amadeus) : mixed
Parameters
- $amadeus : Amadeus
Return values
mixed —get()
Travel Restrictions API:
public
get(array<string|int, mixed> $params) : DiseaseAreaReport
Get up-to-date data on COVID-19 caseloads and travel restrictions for a given country, city or region.
$amadeus->getDutyOfCare()->getDiseases()->getCovid19AreaReport()->get(["countryCode"=>"US"]);
Parameters
- $params : array<string|int, mixed>
-
the parameters to send to the API
Tags
Return values
DiseaseAreaReport —an API resource