Skip to content

Commit b892d01

Browse files
author
Anthony Roux
committed
fix hotel examples in README.md
1 parent 709cee4 commit b892d01

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,7 @@ Period[] busiestPeriods = amadeus.travel.analytics.airTraffic.busiestPeriod.get(
281281
HotelOffer[] offers = amadeus.shopping.hotelOffers.get(Params
282282
.with("cityCode", "MAD"));
283283
// Get list of offers for a specific hotel
284-
HotelOffer offer = amadeus.shopping
285-
.hotelOffersByHotel("SMPARCOL").get();
284+
HotelOffer hotelOffer = amadeus.shopping.hotelOffersByHotel.get(Params.with("hotelId", "BGLONBGB");
286285
// Confirm the availability of a specific offer
287286
HotelOffer offer = amadeus.shopping
288287
.hotelOffer("4BA070CE929E135B3268A9F2D0C51E9D4A6CF318BA10485322FA2C7E78C7852E").get();

0 commit comments

Comments
 (0)