Decommissioned Travel Restrictions API v1
Decommissioned Hotel Search API v2
Added missing assertions on integrations tests
Split long unit tests methods in more smaller ones
Updated package names to follow Java conventions
Updated all resources to make sure field declarations are on top of constructors
Updated method names to camelcase to follow Java conventions
Updated contributor's guide
Fixed warnings from SonarCloud and several improvements to improve code quality
Fixed deviceType in the FlightOrder resource
Library compilation upgrade to Java 8
Verbs to enum updates accross several classes - big thanks to Steve Donovan for his contribution! 👏
Updates to FlightOrder resource model - big thanks to Steve Donovan for his contribution! 👏
Provided fix to a few SonarCloud warnings
Add support for the Travel Restrictions v2
Add support for JDK 8 and 11, Big thanks to Steve Donovan for his contribution! 👏
Update Traveler resource model, Big thanks to Steve Donovan for his contribution! 👏
Add SonarCloud in GitHub Action
Removed unnecessary toString() on a String. Big thanks to Steve Donovan for his contribution! 👏
Fixed property type name in the FlightOffersSearch resource
Add support for the Airline Routes API. Big thanks to Siddhartha Dutta for his contribution! 👏
Add support for the Hotel Name Autocomplete API
Add support for the City Search API
Bug fix in the DatedFlight.Timing resource. Big thanks to Frank Koornstra for his contribution! 👏
Add email to the HotelOffer.HotelContact resource
Update GSON dependency
Add support for the Hotel Search API v3
Add support for the Hotel List API
Add support for the Branded Fares Upsell API
Add usbType to the SeatMap resource
Improve Test Coverage until 75%
Remove the AI-Generated Photos API
Bug fix in the generating Javadocs
Add support for APIs that need X-HTTP-Method-Override Header
Add support for the Flight Availablities Search API
Add support for the Travel Restrictions API
Add support for the Location Score API
Add support for the Airport Routes API
Bug fix in the Traveler resource
Bug fix in the FlightOffersSearch resource
Add support for the Trip Parser API. Big thanks to Siddhartha Dutta for his contribution! 👏
Bug fix in the DatedFlight resource
Update gradle version and creation of automated releasing with Gradle plugin.
Fix unwanted exception in description of an error. Big thanks to João Cana Verde for his contribution! 👏
Add media and available seats counter to the SeatMap resource
Fix unwanted exception on DELETE
method of Flight Order Management API
Add support for the Flight Price Analysis API
Add support for the Tours and Activities API
Add support for the On-Demand Flight Status API
Bug fix in SafePlace resource which didn't return the safetyScores - reported by jvence, thank you very much!
Add support for the Travel Recommendations API
Moved the code examples directory to a dedicated code examples repository
Add AircraftCabinAmenities to the SeatMap resource
Add support for the Safe Place API
Add support for the Flight Choice Prediction v2
The input of Flight Choice Prediction v2 is the result of Flight Offers Search API - in v1 the input was the result of Flight Low-Fare Search
Add choiceProbability to FlightOfferSearch resource
Remove support for Flight Low-Fare Search: decommission on May 28, 2020 and mandatory migration to Flight Offers Search
Remove support for Flight Choice Prediction v1
Bug fix - Fix helpers for Flight Create Orders Add new helper methods to ease the use of Flight Booking APIs
Bug fix - Updated AssociatedRecords to Array in HotelBooking.java
Big thanks to Spiros Batziopoulos for his contribution to the Flight Offers Price! 👏
Add support for the Flight Offers Price API
The Flight Offers Price API confirms the flight price (including taxes and fees) and availability for a given flight returned by the Flight Offers Search API. The API also returns pricing for ancillary products (additional bags, extra legroom, etc.) and the payment information details needed for booking.
Add support for the Flight Create Orders API
The Flight Create Orders API is a flight booking API that lets you perform the final booking for a desired flight and ancillary products (additional bags, extra legroom, etc.). The API returns a unique ID for the flight order and reservation details. This API is used to perform the final booking on confirmed fares returned by the Flight Offers Price API.
Add support for the Flight Order Management API
The Flight Order Management API lets you consult bookings created through the Flight Create Orders API. Using the booking ID generated by Flight Create Orders, Flight Order Management returns the last-updated version of the booking record with any post-booking modifications including but not limited to ticket information, form of payment or other remarks.
Add support for the Trip Purpose Prediction API
The Trip Purpose Prediction API returns the probability of whether a round-trip flight itinerary is for business or leisure travel. The API takes flight dates, departure city and arrival city and then applies a machine-learning model trained with Amadeus historical data to determine the probability that the itinerary is for business or leisure travel. This API is useful for gaining insight and optimizing the search and shopping experience.
Add support for the Hotel Booking API
The Amadeus Hotel Booking API lets you complete bookings at over 150,000 hotels and accommodations around the world. To complete bookings, you must first use the Amadeus Hotel Search API to search for hotel deals, select the desired offer and confirm the final price and availability. You can then use the Hotel Booking API to complete the reservation by providing an offer id, guest information and payment information.
Add support for the AI-Generated Photos API
The AI-Generated Photos API returns a link to download a rendered image of a landscape. The image size is 512x512 pixels and the currently available image categories are BEACH and MOUNTAIN. The link to download the AI-generated picture is valid for 24 hours. This API is an experimental project created by the Amadeus AI Lab using the Nvidia StyleGAN framework. This API is free to use and we welcome any feedback you may have about improvements.
Add support for the SeatMap Display API
SeatMap Display API allows you to get information to display airplane cabin plan from a Flight Offer in order for the traveler to be able to choose his seat during the flight booking flow thanks to POST method. In addition GET method allows you to display airplane cabin plan from an existing Flight Order.
Remove support for Most Searched Destinations
Add support for Points of Interest Retrieve endpoint
Add support for the Airport on Time API
The Airport On-Time Performance API returns the estimated percentage of on-time flight departures for a given airport and date. The API receives the 3-letter IATA airport code and departure date and applies a machine-learning model trained with Amadeus historical data to estimate the overall airport on-time performance. This API is in currently in beta and only returns accurate data for airports located in the U.S.
Add support for the Flight Delay Prediction API
The Flight Delay Prediction API returns the probability that a given flight will be delayed by four possible delay lengths: less than 30 minutes, 30-60 minutes, 60-120 minutes and over 120 minutes/cancellation. The API receives flight information and applies a machine-learning model trained with Amadeus historical data to determine the probability of flight delay.
##3.3.0-2019-10-18 Big thanks to Spiros Batziopoulos for his contributions! The 2 APIs below were added to the SDK by him! 👏
Add support for the Hotel Ratings API
The Hotel Ratings API provides hotel ratings based on automated sentiment analysis algorithm applied on the online reviews. Apart from an overall rating for a hotel also provides ratings for different categories of each (e.g.: staff, pool, internet, location). This provides a key content information for decision making during a shopping experience being able to compare how good a hotel is compared to others, sort hotels by ratings, filter by categories or recommend a hotel based on the trip context.
Add support for the Flight Offers Search API
The Flight Offers Search API allows to get cheapest flight recommendations and prices on a given journey. It provides a list of flight recommendations and fares from a given origin (city or airport), for a given date (or date range) and for a given list of passengers. Additional information such as bag allowance, first ancillary bag prices or fare details are also provided.
Release of the Flight Choice Prediction API
The Flight Choice Prediction API allows developers to forecast traveler choices in the context of search & shopping. Exposing machine learning & AI services for travel, this API consumes the output of the Flight Low-fare Search API and returns augmented content with probabilities of choices for each flight offers.
New version of the Java SDK to support a new endpoint:
Bug #21 reported by vht210, thank you very much!
Fix a bug in the Request.java with HTTPURLConnection, making the SDK doing only POST calls in Android.
- Remove the support for Hotel Search v1
- URLs for all three endpoints have been simplified for ease-of-use and consistency Find Hotels
- The parameter
hotels
has been renamed tohotelIds
- Update from
amadeus.shopping.hotel("BGLONBGB").hotelOffers.get();
toamadeus.shopping.hotelOffersByHotel.get(Params.with("hotelId", "BGLONBGB"));
- Now get all images in ‘View Hotels Rooms’ endpoint using the view parameter as
FULL_ALL_IMAGES
- Updated from
amadeus.shopping.hotel("BGLONBGB").offer("XXX").get();
toamadeus.shopping..hotelOffer("XXX").get();
- Image category added under Media in the response
- Hotel distance added in the response
- Response now refers to the common HotelOffer object model
Flight Most Searched Destinations: Redesign of the API - Split the previous endpoint in 2 endpoints:
- 1st endpoint to find the most searched destinations
- 2nd endpoint to have more data about a dedicated origin & destination
Flight Most Booked Destinations:
- Rename origin to originCityCode
Flight Most Traveled Destinations:
- Rename origin in originCityCode
- Rename airline to airlineCode
- Remove parameter onlyMajor
- Add radius as parameter
- Regroup parameters IATACode and ICAOCode under the same name airlineCodes
Contribution by nirmalvp
Bug fix - The AMADEUS_HOST environment variable wasn't working
Bug fix - Some sub-attributes accessors were private and not accessible
New version of the Java library to support our 3 new endpoints:
Fix documentation typos and publish a new version with signed jar
The first stable version of the Amadeus for Developers Java SDK