-
Notifications
You must be signed in to change notification settings - Fork 1
TravelSafe
José Ignacio Amelivia Santiago edited this page Oct 29, 2020
·
2 revisions
Get travel restrictions endpoint reference on the official TravelPerk documentation.
Given the origin, destination, and a Carbon
date, this function will fetch the travel restrictions between the two locations at the specific date.
$travelperk->travelSafe()->travelSafe()->travelRestrictions(
'ES',
'FR',
'country_code',
'country_code',
Carbon::today()
);
Get local summary endpoint reference on the official TravelPerk documentation.
Given the location this function will fetch the local guidelines summary for that location.
$travelperk->travelSafe()->travelSafe()->localSummary('ES', 'country_code');
Get airline safety measures endpoint reference on the official TravelPerk documentation.
Given the iata code for the airline this function will fetch the safety measures for that airline.
$webhook = $travelperk->travelSafe()->travelSafe()->airlineSafetyMeasures('LH');
Will return all possible location types.
$travelperk->travelSafe()->travelSafe()->locationTypes();