public class HotelSentiments
extends java.lang.Object
A namespaced client for the
/v2/e-reputation/hotel-sentiments endpoints.
Access via the Amadeus client object.
Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
amadeus.ereputation.hotelSentiments;| Constructor and Description |
|---|
HotelSentiments(Amadeus client)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HotelSentiment[] |
get(Params params)
Hotel ratings based on automated sentiment analysis algorithm
applied on the online reviews.
|
public HotelSentiments(Amadeus client)
public HotelSentiment[] get(Params params) throws ResponseException
Hotel ratings based on automated sentiment analysis algorithm applied on the online reviews.
amadeus.ereputation.hotelSentiments.get(Params
.with("hotelIds", "ELONMFS,ADNYCCTB"));params - the parameters to send to the APIResponseException - when an exception occurs