Amadeus Java Versions Save

Java library for the Amadeus Self-Service travel APIs

4.0.1

4 years ago

Bug fix - Updated AssociatedRecords to Array in HotelBooking.java

v4.0.0

4 years ago

Big thanks to Spiros Batziopoulos for his contribution to the Flight Offers Price! :clap:

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.

v3.3.0

4 years ago

Big thanks to Spiros Batziopoulos for his contributions! The 2 APIs below were added to the SDK by him! :clap:

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.

3.2.0 - 2019-06-04

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.

v3.2.0

4 years ago

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.

v3.1.0

5 years ago

Release of the Points Of Interest API

The Points Of Interest API, powered by AVUXI TopPlace, is a search API that returns a list of popular places for a particular location. The location can be defined as area bound by four coordinates or as a geographical coordinate with a radius. The popularity of a place or 'point of interest' is determined by AVUXI's proprietary algorithm that considers factors such as ratings, check-ins, category scores among other factors from a host of online media sources.

v3.0.1

5 years ago

Fix a bug with the HTTPURLConnection Library on Android

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.

v3.0.0

5 years ago

Hotel Search v2 has been deployed (Hotel Search v1 is now deprecated)

General

  • Remove the support for Hotel Search v1
  • URLs for all three endpoints have been simplified for ease-of-use and consistency Find Hotels

Find Hotels - 1st endpoint

  • The parameter hotels has been renamed to hotelIds

View Hotel Rooms - 2nd endpoint

  • Update from amadeus.shopping.hotel("BGLONBGB").hotelOffers.get(); to amadeus.shopping.hotelOffersByHotel.get(Params.with("hotelId", "BGLONBGB"));
  • Now get all images in ‘View Hotels Rooms’ endpoint using the view parameter as FULL_ALL_IMAGES

View Room Details - 3rd endpoint

  • Updated from amadeus.shopping.hotel("BGLONBGB").offer("XXX").get(); to amadeus.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

v2.0.0

5 years ago

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

Flight Check-in Links:

  • Rename airline to airlineCode

Airport & City Search:

  • Remove parameter onlyMajor

Airport Nearest Relevant:

  • Add radius as parameter

Airline Code Lookup:

  • Regroup parameters IATACode and ICAOCode under the same name airlineCodes

v.1.1.1

5 years ago

Some sub-attributes of the responses were not accessible.

You can now do (for example): Airport & City Search: locations[0].getAddress().getCityCode()

Hotel Search: offers[i].getHotel().getCityCode()