### Initialize Amadeus Client Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/referenceData/locations/PointsOfInterest.html Example of how to initialize the Amadeus client with your API credentials. ```java Amadeus amadeus = Amadeus.builder("clientId", "secret").build(); ``` -------------------------------- ### Initialize Amadeus Client Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/shopping/SeatMaps.html Example of how to initialize the Amadeus client with API keys. ```Java Amadeus amadeus = Amadeus.builder(API_KEY, API_SECRET).build(); ``` -------------------------------- ### Making a GET API Call Source: https://github.com/amadeus4dev/amadeus-java/blob/master/README.md Example of making a direct GET request to an Amadeus API endpoint and retrieving the raw response. ```java Response response = amadeus.get("/v2/reference-data/urls/checkin-links", Params.with("airlineCode", "BA")); response.getResult(); ``` -------------------------------- ### Initialize Amadeus Client Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/shopping/Activities.html Demonstrates how to build and initialize the Amadeus client with API keys. ```Java Amadeus amadeus = Amadeus.builder("clientId", "secret").build(); ``` -------------------------------- ### TripDetail.Start Class Methods - amadeus-java API Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/resources/TripDetail.Start.html Provides access to methods for retrieving trip start details. Includes methods to get the IATA code, local date and time, name, and address associated with the trip's starting point. ```APIDOC TripDetail.Start: getAddress() -> TripDetail.Address Returns the address details of the trip start location. getIataCode() -> String Returns the IATA code for the trip start location. getLocalDateTime() -> String Returns the local date and time of the trip start. getName() -> String Returns the name of the trip start location. toString() -> String Overrides the default toString method to provide a string representation of the TripDetail.Start object. ``` -------------------------------- ### Initialize Amadeus Client with API Keys Source: https://github.com/amadeus4dev/amadeus-java/blob/master/README.md Demonstrates how to initialize the Amadeus client using your API key and secret. ```java //Initialize using parameters Amadeus amadeus = Amadeus .builder("REPLACE_BY_YOUR_API_KEY", "REPLACE_BY_YOUR_API_SECRET") .build(); ``` -------------------------------- ### FlightDestinations API Documentation Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/shopping/FlightDestinations.html Provides details on how to use the FlightDestinations class to find flight destinations. Includes constructor and method information, with examples for the 'get' method. ```APIDOC Class FlightDestinations * java.lang.Object * com.amadeus.shopping.FlightDestinations public class FlightDestinations extends java.lang.Object A namespaced client for the /v1/shopping/flight-destinations endpoints. Access via the Amadeus client object. Amadeus amadeus = Amadeus.builder("clientId", "secret").build(); amadeus.shopping.flightDestinations; Constructor Summary Constructors Constructor and Description FlightDestinations(Amadeus client) Constructor. Method Summary All Methods Instance Methods Concrete Methods Modifier and Type Method and Description FlightDestination[] get() Convenience method for calling get without any parameters. FlightDestination[] get(Params params) Find the cheapest destinations where you can fly to. Parameters: params: the parameters to send to the API Returns: an API response object Throws: ResponseException: when an exception occurs Example: amadeus.shopping.flightDestinations.get(Params.with("origin", "LHR")); Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructor Detail FlightDestinations public FlightDestinations(Amadeus client) Constructor. Method Detail get public FlightDestination[] get(Params params) throws ResponseException Find the cheapest destinations where you can fly to. Parameters: params: the parameters to send to the API Returns: an API response object Throws: ResponseException: when an exception occurs get public FlightDestination[] get() ``` -------------------------------- ### Amadeus Java Configuration Setup Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/Configuration.html Demonstrates how to initialize the Amadeus configuration with API credentials and environment settings. ```Java import com.amadeus.Amadeus; import com.amadeus.AmadeusBuilder; public class ConfigurationExample { public static void main(String[] args) { // Initialize Amadeus with API credentials and environment Amadeus amadeus = Amadeus .builder("YOUR_CLIENT_ID", "YOUR_CLIENT_SECRET") .setEnvironment("test") // or "production" .setLogger(System.out) .build(); System.out.println("Amadeus client initialized successfully."); // Now you can use the 'amadeus' object to make API calls } } ``` -------------------------------- ### Initialize Amadeus Client Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/shopping/flightOffers/Upselling.html Demonstrates how to build and initialize the Amadeus client using API keys. ```java import com.amadeus.Amadeus; // ... Amadeus amadeus = Amadeus.builder(API_KEY, API_SECRET).build(); ``` -------------------------------- ### Get Locations API Call Source: https://github.com/amadeus4dev/amadeus-java/blob/master/README.md Example of making an API call to retrieve locations using the Amadeus Java SDK. This requires initializing the Amadeus client with API credentials. ```java import com.amadeus.Amadeus; import com.amadeus.Params; import com.amadeus.exceptions.ResponseException; import com.amadeus.referenceData.Locations; import com.amadeus.resources.Location; public class AmadeusExample { public static void main(String[] args) throws ResponseException { Amadeus amadeus = Amadeus .builder("REPLACE_BY_YOUR_API_KEY", "REPLACE_BY_YOUR_API_SECRET") .build(); Location[] locations = amadeus.referenceData.locations.get(Params .with("keyword", "LON") .and("subType", Locations.ANY)); System.out.println(locations); } } ``` -------------------------------- ### Initialize Amadeus Client with Environment Variables Source: https://github.com/amadeus4dev/amadeus-java/blob/master/README.md Shows how to initialize the Amadeus client by reading credentials from environment variables. ```java Amadeus amadeus = Amadeus .builder(System.getenv()) .build(); ``` -------------------------------- ### Hotel Offers by Hotel Get Method Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/shopping/HotelOffersByHotel.html This APIDOC entry describes the 'get' method for HotelOffersByHotel, which is a convenience method for calling 'get' without any parameters. It may throw a ResponseException. ```APIDOC HotelOffersByHotel: get() Description: Convenience method for calling `get` without any parameters. Throws: ResponseException: If an API error occurs during the request. ``` -------------------------------- ### Amadeus Java SDK - Class and Method Navigation Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/resources/HotelOfferSearch.RoomDetails.html Provides navigation links for exploring the Amadeus Java SDK documentation. Includes links to all classes, method summaries, and detailed method information. ```APIDOC All Classes: ../../../allclasses-noframe.html Navigation: * Summary: * Nested | * Field | * Constr | * Method #method.summary Detail: * Field | * Constr | * Method #method.detail ``` -------------------------------- ### Get Destination Recommendations Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/referenceData/RecommendedLocations.html Retrieves a list of destination recommendations by making a GET request to the API. Supports optional parameters for filtering. ```APIDOC com.amadeus.referenceData.RecommendedLocations: get() Returns a list of destination recommendations without any parameters. get(Params params) Returns a list of destination recommendations. Parameters: params: The parameters to send to the API. Returns: An API response object containing Location data. Throws: com.amadeus.exceptions.ResponseException: When an exception occurs during the API call. Example: amadeus.referenceData.recommendedLocations.get(Params .with("cityCodes", "PAR") .and("travelerCountryCode", "FR")); ``` -------------------------------- ### Amadeus Java SDK - Class and Method Navigation Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/resources/TripDetail.Product.html Provides navigation links for exploring the Amadeus Java SDK documentation. Includes links to all classes, method summaries, and detailed method information. ```APIDOC All Classes: ../../../allclasses-noframe.html Navigation: * Summary: * Nested | * Field | * Constr | * Method #method.summary Detail: * Field | * Constr | * Method #method.detail ``` -------------------------------- ### DirectDestinations get() Method Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/airport/DirectDestinations.html Convenience method for calling the get method without any parameters. This method is used to retrieve direct destination information. ```Java /** * Convenience method for calling `get` without any parameters. * * @throws ResponseException * @see [get()](../../../com/amadeus/airport/DirectDestinations.html#get--) */ public Response get() throws ResponseException ``` -------------------------------- ### HotelOffersSearch get() Method Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/shopping/HotelOffersSearch.html Provides a convenience method to call the get operation without any parameters. This method is used to retrieve hotel offers. ```Java public HotelOfferSearch[] get() throws ResponseException ``` -------------------------------- ### DirectDestinations API Documentation Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/airport/DirectDestinations.html This section details the DirectDestinations API, including its constructor and methods for retrieving direct destination information. It covers how to initialize the client and make requests with or without parameters. ```APIDOC Class DirectDestinations ------------------------ A namespaced client for the `/v1/airport/direct-destinations` endpoints. Access via the Amadeus client object. Amadeus amadeus = Amadeus.builder("clientId", "secret").build(); amadeus.airport.directDestinations; ### Constructor Summary Constructors Constructor and Description `[DirectDestinations](../../../com/amadeus/airport/DirectDestinations.html#DirectDestinations-com.amadeus.Amadeus-)([Amadeus](../../../com/amadeus/Amadeus.html "class in com.amadeus") client)` Constructor. ### Method Summary All Methods [Instance Methods](javascript:show(2);) [Concrete Methods](javascript:show(8);) Modifier and Type Method and Description `[Destination](../../../com/amadeus/resources/Destination.html "class in com.amadeus.resources")[]` `[get](../../../com/amadeus/airport/DirectDestinations.html#get--)()` Convenience method for calling `get` without any parameters. `[Destination](../../../com/amadeus/resources/Destination.html "class in com.amadeus.resources")[]` `[get](../../../com/amadeus/airport/DirectDestinations.html#get-com.amadeus.Params-)([Params](../../../com/amadeus/Params.html "class in com.amadeus") params)` Find all destinations served by a given airport. * ### Constructor Detail * #### DirectDestinations public DirectDestinations([Amadeus](../../../com/amadeus/Amadeus.html "class in com.amadeus") client) Constructor. * #### get public [Destination](../../../com/amadeus/resources/Destination.html "class in com.amadeus.resources")[] get([Params](../../../com/amadeus/Params.html "class in com.amadeus") params) throws [ResponseException](../../../com/amadeus/exceptions/ResponseException.html "class in com.amadeus.exceptions") Find all destinations served by a given airport. amadeus.airport.directDestinations.get(Params .with("departureAirportCode", "MAD") .and("max","2")); Parameters: `params` - the parameters to send to the API Returns: an API response object Throws: `[ResponseException](../../../com/amadeus/exceptions/ResponseException.html "class in com.amadeus.exceptions")` - when an exception occurs * #### get public [Destination](../../../com/amadeus/resources/Destination.html "class in com.amadeus.resources")[] get() throws [ResponseException](../../../com/amadeus/exceptions/ResponseException.html "class in com.amadeus.exceptions") ``` -------------------------------- ### Amadeus API Client Initialization Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/Amadeus.html Demonstrates how to initialize the Amadeus API client using API keys and secrets, or environment variables. ```java Amadeus amadeus = Amadeus.builder("REPLACE_BY_YOUR_API_KEY", "REPLACE_BY_YOUR_API_SECRET").build(); ``` ```java Amadeus amadeus = Amadeus.builder(System.getenv()).build(); ``` -------------------------------- ### Get Points of Interest (Java) Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/referenceData/locations/pointsOfInterest/BySquare.html Convenience method for calling the 'get' function without any parameters. This method retrieves a list of Points of Interest. ```Java public PointOfInterest[] get() throws ResponseException ``` -------------------------------- ### PointOfInterest get Method Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/referenceData/locations/PointOfInterest.html Provides a convenience method to call the 'get' functionality without any parameters. This method is part of the PointOfInterest resource in the Amadeus Java SDK. ```Java public PointOfInterest get() throws ResponseException ``` -------------------------------- ### Initialize Amadeus Client Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/shopping/HotelOffersSearch.html Demonstrates how to build and initialize the Amadeus client for use with the SDK. ```Java Amadeus amadeus = Amadeus.builder("clientId", "secret").build(); amadeus.shopping.hotelOffersSearch; ``` -------------------------------- ### Initialize Amadeus Client for Production Environment Source: https://github.com/amadeus4dev/amadeus-java/blob/master/README.md Configures the Amadeus client to use the production environment by setting the hostname. ```java Amadeus amadeus = Amadeus .builder(System.getenv()) .setHostname("production") .build(); ``` -------------------------------- ### Get Points of Interest (No Params) Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/referenceData/locations/PointsOfInterest.html A convenience method to call the 'get' function without any parameters. This might return a default or broader set of points of interest. ```Java public PointOfInterest[] get() throws ResponseException ``` -------------------------------- ### Amadeus Client Initialization Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/referenceData/locations/pointsOfInterest/BySquare.html Demonstrates how to initialize the Amadeus client and access the BySquare service. ```Java Amadeus amadeus = Amadeus.builder("clientId", "secret").build(); amadeus.referenceData.locations.pointsOfInterest.bySquare; ``` -------------------------------- ### Get Airports (No Parameters) Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/referenceData/locations/Airports.html Convenience method for calling the 'get' method without any parameters. This method retrieves a list of airports. It may throw a ResponseException if the request fails. ```Java public com.amadeus.resources.Airport[] get() throws ResponseException ``` -------------------------------- ### Amadeus Client Builder Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/index-all.html Provides static methods to create a builder for the Amadeus client, allowing initialization with credentials or environment variables. ```APIDOC Amadeus: builder(String, String) Static method to create a builder object for building an Amadeus client. Parameters: - String: API key - String: API secret builder(Map) Static method to create a builder object initialized with environment variables for building an Amadeus client. Parameters: - Map: A map of environment variables. ``` -------------------------------- ### HotelOffers get() Method Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/shopping/HotelOffers.html Provides a convenience method for calling the `get` method without any parameters. This method may throw a ResponseException if an error occurs during the API call. ```Java /** * Convenience method for calling `get` without any parameters. * * Throws: * `[ResponseException](../../../com/amadeus/exceptions/ResponseException.html "class in com.amadeus.exceptions")` * * See Also: * [`get()`](../../../com/amadeus/shopping/HotelOffers.html#get--) */ public HotelOffers get() throws ResponseException; ``` -------------------------------- ### Get Hotel Information Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/referenceData/locations/hotels/ByGeocode.html Retrieves hotel information using the ByGeocode class. This is a convenience method that calls the 'get' method without any parameters. It may throw a ResponseException. ```Java public Hotel[] get() throws ResponseException ``` -------------------------------- ### Amadeus Client Initialization (Builder) Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/Amadeus.html Initializes the Amadeus client using provided API credentials. This method is essential for setting up the connection to the Amadeus API. ```Java Amadeus amadeus = Amadeus.builder("CLIENT_ID", "CLIENT_SECRET").build(); ``` -------------------------------- ### Amadeus Client Configuration Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/index-all.html Details the method for building an Amadeus client with provided credentials. ```APIDOC Configuration: build() Builds an Amadeus client with the provided credentials. ``` -------------------------------- ### TripPurpose Get Method Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/travel/predictions/TripPurpose.html Provides a convenience method for calling the 'get' method without any parameters. This method is part of the Amadeus Java SDK for retrieving trip purpose information. ```java public class TripPurpose { // ... other methods and fields ... /** * Convenience method for calling `get` without any parameters. * * @return The response object. * @throws ResponseException If an error occurs during the API call. */ public Response get() throws ResponseException { // Implementation details would be here, likely calling another get method with default parameters return null; // Placeholder } // ... other methods and fields ... } ``` ```APIDOC TripPurpose: get(): Response Description: Convenience method for calling the get method without any parameters. Throws: ResponseException: If an error occurs during the API call. See Also: get() ``` -------------------------------- ### FlightDates get() Method - Amadeus Java SDK Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/shopping/FlightDates.html This method is a convenience wrapper for calling the 'get' method without any parameters. It is part of the FlightDates class in the Amadeus Java SDK. ```Java /** * Convenience method for calling `get` without any parameters. * * @throws ResponseException */ public void get() throws ResponseException; ``` -------------------------------- ### Get Hotels by Geocode (Convenience Method) Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/referenceData/locations/hotels/ByGeocode.html A convenience method to call the get method without any parameters. This is typically used when default parameters are sufficient or when parameters are set elsewhere. ```Java com.amadeus.resources.Hotel[] hotels = amadeus.referenceData.locations.hotels.byGeocode.get(); ``` -------------------------------- ### Amadeus Client Initialization Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/Configuration.html Demonstrates how to initialize the Amadeus API client using either direct API key and secret or environment variables. ```java Amadeus amadeus = Amadeus.builder("REPLACE_BY_YOUR_API_KEY", "REPLACE_BY_YOUR_API_SECRET").build(); Amadeus amadeus = Amadeus.builder(System.getenv()).build(); ``` -------------------------------- ### Amadeus HTTP Client - Generic GET Requests API Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/index-all.html A helper module for making generic GET requests. Supports calls with a URL string, with or without additional parameters. ```APIDOC HTTPClient: get(String url) Description: A helper module for making generic GET requests calls. Parameters: url: The URL for the GET request. get(String url, Params params) Description: A helper module for making generic GET requests calls. Parameters: url: The URL for the GET request. params: An object containing request parameters. ``` -------------------------------- ### Configuration API Documentation Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/Configuration.html Provides details on the methods available for configuring the Amadeus API client, including authentication, host, logging, and SSL settings. ```APIDOC com.amadeus Class Configuration ------------------- * java.lang.Object * * com.amadeus.Configuration public class Configuration extends java.lang.Object The configuration for the Amadeus API client. To initialize, use the builder as follows: Amadeus amadeus = Amadeus.builder("REPLACE_BY_YOUR_API_KEY", "REPLACE_BY_YOUR_API_SECRET").build(); Or pass in environment variables directly: Amadeus.builder(System.getenv()).build(); * ### Method Summary All MethodsĀ [Instance Methods](javascript:show(2);) Modifier and Type Method and Description `[Amadeus](../../com/amadeus/Amadeus.html "class in com.amadeus")` `[build](../../com/amadeus/Configuration.html#build--)()` Builds an Amadeus client with the provided credentials. `java.lang.String` `[getClientId](../../com/amadeus/Configuration.html#getClientId--)()` The client ID used to authenticate the API calls. `java.lang.String` `[getClientSecret](../../com/amadeus/Configuration.html#getClientSecret--)()` The client secret used to authenticate the API calls. `java.lang.String` `[getCustomAppId](../../com/amadeus/Configuration.html#getCustomAppId--)()` An optional custom App ID to be passed in the User Agent to the server (Defaults to null). `java.lang.String` `[getCustomAppVersion](../../com/amadeus/Configuration.html#getCustomAppVersion--)()` An optional custom App version to be passed in the User Agent to the server (Defaults to null). `java.lang.String` `[getHost](../../com/amadeus/Configuration.html#getHost--)()` The optional custom host domain to use for API calls. `java.lang.String` `[getHostname](../../com/amadeus/Configuration.html#getHostname--)()` The the name of the server API calls are made to, 'production' or 'test'. `java.util.logging.Logger` `[getLogger](../../com/amadeus/Configuration.html#getLogger--)()` The logger that will be used to debug or warn to. `java.lang.String` `[getLogLevel](../../com/amadeus/Configuration.html#getLogLevel--)()` The log level. `int` `[getPort](../../com/amadeus/Configuration.html#getPort--)()` The port to use. `boolean` `[isSsl](../../com/amadeus/Configuration.html#isSsl--)()` Wether to use SSL. `[Configuration](../../com/amadeus/Configuration.html "class in com.amadeus")` `[setCustomAppId](../../com/amadeus/Configuration.html#setCustomAppId-java.lang.String-)(java.lang.StringĀ customAppId)` An optional custom App ID to be passed in the User Agent to the server (Defaults to null). `[Configuration](../../com/amadeus/Configuration.html "class in com.amadeus")` ``` -------------------------------- ### Media Class Initialization Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/Media.html Demonstrates how to access the Media client through the Amadeus client object. This is the entry point for all media-related operations. ```java Amadeus amadeus = Amadeus.builder("clientId", "secret").build(); amadeus.media; ``` -------------------------------- ### Get Disease Area Report (Java) Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/dutyOfCare/diseases/Covid19AreaReport.html Retrieves a disease area report without any parameters. This is a convenience method for the main get functionality. It may throw a ResponseException if the request fails. ```Java public DiseaseAreaReport get() throws ResponseException Convenience method for calling `get` without any parameters. Throws: `ResponseException` See Also: `get()` ``` -------------------------------- ### Amadeus Configuration Methods Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/index-all.html Provides methods to configure the Amadeus client, including setting the port and SSL usage. Also includes a toString method for configuration details. ```APIDOC setPort(int): Sets the port to use for the Amadeus client. Parameters: - port: The integer port number. setSsl(Boolean): Enables or disables SSL for the Amadeus client. Parameters: - ssl: A boolean value, true to enable SSL, false otherwise. tosString(): Returns a string representation of the Configuration object. ``` -------------------------------- ### Flight Offers Search (GET) Source: https://github.com/amadeus4dev/amadeus-java/blob/master/README.md Searches for flight offers using GET request with specified parameters like origin, destination, dates, and adults. Supports filtering results with 'max'. ```java FlightOfferSearch[] flightOffersSearches = amadeus.shopping.flightOffersSearch.get( Params.with("originLocationCode", "SYD") .and("destinationLocationCode", "BKK") .and("departureDate", "2023-11-01") .and("returnDate", "2023-11-08") .and("adults", 2) .and("max", 3)); ``` -------------------------------- ### FlightDelay get Method - Amadeus Java SDK Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/travel/predictions/FlightDelay.html Provides a convenience method to call the 'get' functionality without any parameters. This method may throw a ResponseException if an error occurs during the API call. ```Java public Prediction[] get() throws ResponseException ``` -------------------------------- ### Amadeus Client Initialization Source: https://github.com/amadeus4dev/amadeus-java/blob/master/docs/com/amadeus/travel/analytics/airTraffic/Booked.html Demonstrates how to initialize the Amadeus client with your API credentials. ```Java Amadeus amadeus = Amadeus.builder("clientId", "secret").build(); ```