Documentation

BySquare
in package

A namespaced client for the "/v1/shopping/activities/by-square" endpoints.

Access via the Amadeus client object.

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

Table of Contents

$amadeus  : Amadeus
__construct()  : mixed
Constructor.
get()  : array<string|int, Activity>
Tours and Activities API:

Properties

Methods

__construct()

Constructor.

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

get()

Tours and Activities API:

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

Find a list of activities within a square defined by cardinal points.

$amadeus->getShopping()->getActivities()->getBySquare()->get( ["west" => 2.160873, "north" => 41.397158, "south" => 41.394582, "east" => 2.177181] );

Parameters
$params : array<string|int, mixed>

the parameters to send to the API

Tags
link
https://developers.amadeus.com/self-service/category/destination-content/api-doc/tours-and-activities/api-reference
throws
ResponseException

when an exception occurs

Return values
array<string|int, Activity>

an API resource

Search results