Documentation

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

Methods

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
link
https://developers.amadeus.com/self-service/category/hotel/api-doc/hotel-ratings/api-reference
throws
ResponseException

when an exception occurs

Return values
array<string|int, HotelSentiment>

an API resource

Search results