Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decommission Trip Parser #268

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,6 @@ ItineraryPriceMetric[] metrics = amadeus.analytics.itineraryPriceMetrics.get(Par
.and("destinationIataCode", "CDG")
.and("departureDate", "2024-03-21"));

// Trip Parser v3 POST
// body can be a String version of your JSON or a JsonObject or a compatible File object
TripDetail tripDetail = amadeus.travel.tripParser.post(body);

// Airport Routes
Destination[] directDestinations = amadeus.airport.directDestinations.get(Params
.with("departureAirportCode","MAD")
Expand Down
9 changes: 0 additions & 9 deletions src/main/java/com/amadeus/Travel.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.amadeus;

import com.amadeus.travel.Predictions;
import com.amadeus.travel.TripParser;
import com.amadeus.travel.analytics.Analytics;

/**
Expand Down Expand Up @@ -35,13 +34,6 @@ public class Travel {
* </p>
*/
public Predictions predictions;
/**
* <p>
* A namespaced client for the
* <code>/v3/travel/trip-parser</code> endpoints.
* </p>
*/
public TripParser tripParser;

/**
* Constructor.
Expand All @@ -50,6 +42,5 @@ public class Travel {
public Travel(Amadeus client) {
this.analytics = new Analytics(client);
this.predictions = new Predictions(client);
this.tripParser = new TripParser(client);
}
}
Loading
Loading