HotelSentiments
in package
A namespaced client for the "/v2/e-reputation/hotel-sentiments" endpoints.
Access via the Amadeus client object.
$amadeus = Amadeus::builder("clientId", "secret")->build(); $amadeus->getEReputation()->getHotelSentiments();
Table of Contents
- $amadeus : Amadeus
- __construct() : mixed
- Constructor
- get() : array<string|int, HotelSentiment>
- Hotel Ratings API:
Properties
$amadeus
private
Amadeus
$amadeus
Methods
__construct()
Constructor
public
__construct(Amadeus $amadeus) : mixed
Parameters
- $amadeus : Amadeus
Return values
mixed —get()
Hotel Ratings API:
public
get(array<string|int, mixed> $params) : array<string|int, HotelSentiment>
Get hotel sentiments by Amadeus Hotel Ids.
$amadeus->getEReputation()->getHotelSentiments()->get(["hotelIds" => "TELONMFS"]);
Parameters
- $params : array<string|int, mixed>
-
the parameters to send to the API
Tags
Return values
array<string|int, HotelSentiment> —an API resource