Documentation

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

Methods

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
link
https://developers.amadeus.com/self-service/category/covid-19-and-travel-safety/api-doc/travel-restrictions/api-reference
throws
ResponseException

when an exception occurs

Return values
DiseaseAreaReport

an API resource

Search results