Last active
August 16, 2022 13:05
-
-
Save Tobi-De/6544142454e680331552f6cdba229042 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "data": [ | |
| { | |
| "type": "hotel-offers", | |
| "hotel": { | |
| "type": "hotel", | |
| "hotelId": "MCLONGHM", | |
| "chainCode": "MC", | |
| "dupeId": "700031300", | |
| "name": "JW Marriott Grosvenor House London", | |
| "cityCode": "LON", | |
| "latitude": 51.50988, | |
| "longitude": -0.15509 | |
| }, | |
| "available": true, | |
| "offers": [ | |
| { | |
| "id": "P3YTC85PCQ", | |
| "checkInDate": "2022-11-22", | |
| "checkOutDate": "2022-11-23", | |
| "rateCode": "R ", | |
| "room": { | |
| "type": "GEN", | |
| "typeEstimated": { | |
| "beds": 1, | |
| "bedType": "QUEEN" | |
| }, | |
| "description": { | |
| "text": "Voir les détails du tarif\n1 lit(s) queen, 20m²/215pied²-29m²/312pied², Co\nnnexion Internet sans fil payante, Connexion In", | |
| "lang": "FR" | |
| } | |
| }, | |
| "guests": { | |
| "adults": 1 | |
| }, | |
| "price": { | |
| "currency": "GBP", | |
| "base": "500.00", | |
| "total": "500.00", | |
| "variations": { | |
| "average": { | |
| "base": "500.00" | |
| }, | |
| "changes": [ | |
| { | |
| "startDate": "2022-11-22", | |
| "endDate": "2022-11-23", | |
| "total": "500.00" | |
| } | |
| ] | |
| } | |
| }, | |
| "policies": { | |
| "paymentType": "deposit", | |
| "cancellation": { | |
| "description": { | |
| "text": "NON-REFUNDABLE RATE" | |
| }, | |
| "type": "FULL_STAY" | |
| } | |
| }, | |
| "self": "https://test.api.amadeus.com/v3/shopping/hotel-offers/P3YTC85PCQ" | |
| } | |
| ], | |
| "self": "https://test.api.amadeus.com/v3/shopping/hotel-offers?hotelIds=MCLONGHM&adults=1&checkInDate=2022-11-22&paymentPolicy=NONE&roomQuantity=1" | |
| } | |
| ] | |
| } | |
| // vols | |
| { | |
| "meta": { | |
| "count": 2 | |
| }, | |
| "data": [ | |
| { | |
| "type": "flight-offer", | |
| "id": "1", | |
| "source": "GDS", | |
| "instantTicketingRequired": false, | |
| "nonHomogeneous": false, | |
| "oneWay": false, | |
| "lastTicketingDate": "2022-08-19", | |
| "numberOfBookableSeats": 2, | |
| "itineraries": [ | |
| { | |
| "duration": "PT30H10M", | |
| "segments": [ | |
| { | |
| "departure": { | |
| "iataCode": "GIG", | |
| "terminal": "2", | |
| "at": "2022-11-01T19:05:00" | |
| }, | |
| "arrival": { | |
| "iataCode": "GRU", | |
| "terminal": "2", | |
| "at": "2022-11-01T20:20:00" | |
| }, | |
| "carrierCode": "G3", | |
| "number": "1099", | |
| "aircraft": { | |
| "code": "738" | |
| }, | |
| "operating": { | |
| "carrierCode": "G3" | |
| }, | |
| "duration": "PT1H15M", | |
| "id": "1", | |
| "numberOfStops": 0, | |
| "blacklistedInEU": false | |
| }, | |
| { | |
| "departure": { | |
| "iataCode": "GRU", | |
| "terminal": "2", | |
| "at": "2022-11-02T15:05:00" | |
| }, | |
| "arrival": { | |
| "iataCode": "MAD", | |
| "terminal": "1", | |
| "at": "2022-11-03T05:15:00" | |
| }, | |
| "carrierCode": "UX", | |
| "number": "58", | |
| "aircraft": { | |
| "code": "789" | |
| }, | |
| "operating": { | |
| "carrierCode": "UX" | |
| }, | |
| "duration": "PT10H10M", | |
| "id": "2", | |
| "numberOfStops": 0, | |
| "blacklistedInEU": false | |
| } | |
| ] | |
| }, | |
| { | |
| "duration": "PT15H5M", | |
| "segments": [ | |
| { | |
| "departure": { | |
| "iataCode": "MAD", | |
| "terminal": "1", | |
| "at": "2022-11-05T23:45:00" | |
| }, | |
| "arrival": { | |
| "iataCode": "GRU", | |
| "terminal": "2", | |
| "at": "2022-11-06T06:35:00" | |
| }, | |
| "carrierCode": "UX", | |
| "number": "57", | |
| "aircraft": { | |
| "code": "789" | |
| }, | |
| "operating": { | |
| "carrierCode": "UX" | |
| }, | |
| "duration": "PT10H50M", | |
| "id": "3", | |
| "numberOfStops": 0, | |
| "blacklistedInEU": false | |
| }, | |
| { | |
| "departure": { | |
| "iataCode": "GRU", | |
| "terminal": "2", | |
| "at": "2022-11-06T09:55:00" | |
| }, | |
| "arrival": { | |
| "iataCode": "GIG", | |
| "terminal": "2", | |
| "at": "2022-11-06T10:50:00" | |
| }, | |
| "carrierCode": "G3", | |
| "number": "1092", | |
| "aircraft": { | |
| "code": "738" | |
| }, | |
| "operating": { | |
| "carrierCode": "G3" | |
| }, | |
| "duration": "PT55M", | |
| "id": "4", | |
| "numberOfStops": 0, | |
| "blacklistedInEU": false | |
| } | |
| ] | |
| } | |
| ], | |
| "price": { | |
| "currency": "USD", | |
| "total": "3497.00", | |
| "base": "3390.00", | |
| "fees": [ | |
| { | |
| "amount": "0.00", | |
| "type": "SUPPLIER" | |
| }, | |
| { | |
| "amount": "0.00", | |
| "type": "TICKETING" | |
| } | |
| ], | |
| "grandTotal": "3497.00" | |
| }, | |
| "pricingOptions": { | |
| "fareType": [ | |
| "PUBLISHED" | |
| ], | |
| "includedCheckedBagsOnly": false | |
| }, | |
| "validatingAirlineCodes": [ | |
| "UX" | |
| ], | |
| "travelerPricings": [ | |
| { | |
| "travelerId": "1", | |
| "fareOption": "STANDARD", | |
| "travelerType": "ADULT", | |
| "price": { | |
| "currency": "USD", | |
| "total": "2058.50", | |
| "base": "2005.00" | |
| }, | |
| "fareDetailsBySegment": [ | |
| { | |
| "segmentId": "1", | |
| "cabin": "ECONOMY", | |
| "fareBasis": "IYYRAE", | |
| "class": "Y", | |
| "includedCheckedBags": { | |
| "quantity": 2 | |
| } | |
| }, | |
| { | |
| "segmentId": "2", | |
| "cabin": "BUSINESS", | |
| "fareBasis": "IYYRAE", | |
| "brandedFare": "BUSSTAND", | |
| "class": "I", | |
| "includedCheckedBags": { | |
| "quantity": 2 | |
| } | |
| }, | |
| { | |
| "segmentId": "3", | |
| "cabin": "ECONOMY", | |
| "fareBasis": "PLYRAE", | |
| "class": "P", | |
| "includedCheckedBags": { | |
| "quantity": 1 | |
| } | |
| }, | |
| { | |
| "segmentId": "4", | |
| "cabin": "ECONOMY", | |
| "fareBasis": "PLYRAE", | |
| "brandedFare": "STANDARD", | |
| "class": "B", | |
| "includedCheckedBags": { | |
| "quantity": 1 | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "travelerId": "2", | |
| "fareOption": "STANDARD", | |
| "travelerType": "CHILD", | |
| "price": { | |
| "currency": "USD", | |
| "total": "1438.50", | |
| "base": "1385.00" | |
| }, | |
| "fareDetailsBySegment": [ | |
| { | |
| "segmentId": "1", | |
| "cabin": "ECONOMY", | |
| "fareBasis": "IYYRAE", | |
| "class": "Y" | |
| }, | |
| { | |
| "segmentId": "2", | |
| "cabin": "BUSINESS", | |
| "fareBasis": "IYYRAE", | |
| "brandedFare": "BUSSTAND", | |
| "class": "I" | |
| }, | |
| { | |
| "segmentId": "3", | |
| "cabin": "ECONOMY", | |
| "fareBasis": "PLYRAE", | |
| "class": "P" | |
| }, | |
| { | |
| "segmentId": "4", | |
| "cabin": "ECONOMY", | |
| "fareBasis": "PLYRAE", | |
| "brandedFare": "STANDARD", | |
| "class": "B" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "flight-offer", | |
| "id": "2", | |
| "source": "GDS", | |
| "instantTicketingRequired": false, | |
| "nonHomogeneous": false, | |
| "oneWay": false, | |
| "lastTicketingDate": "2022-08-19", | |
| "numberOfBookableSeats": 2, | |
| "itineraries": [ | |
| { | |
| "duration": "PT30H10M", | |
| "segments": [ | |
| { | |
| "departure": { | |
| "iataCode": "GIG", | |
| "terminal": "2", | |
| "at": "2022-11-01T19:05:00" | |
| }, | |
| "arrival": { | |
| "iataCode": "GRU", | |
| "terminal": "2", | |
| "at": "2022-11-01T20:20:00" | |
| }, | |
| "carrierCode": "G3", | |
| "number": "1099", | |
| "aircraft": { | |
| "code": "738" | |
| }, | |
| "operating": { | |
| "carrierCode": "G3" | |
| }, | |
| "duration": "PT1H15M", | |
| "id": "1", | |
| "numberOfStops": 0, | |
| "blacklistedInEU": false | |
| }, | |
| { | |
| "departure": { | |
| "iataCode": "GRU", | |
| "terminal": "2", | |
| "at": "2022-11-02T15:05:00" | |
| }, | |
| "arrival": { | |
| "iataCode": "MAD", | |
| "terminal": "1", | |
| "at": "2022-11-03T05:15:00" | |
| }, | |
| "carrierCode": "UX", | |
| "number": "58", | |
| "aircraft": { | |
| "code": "789" | |
| }, | |
| "operating": { | |
| "carrierCode": "UX" | |
| }, | |
| "duration": "PT10H10M", | |
| "id": "2", | |
| "numberOfStops": 0, | |
| "blacklistedInEU": false | |
| } | |
| ] | |
| }, | |
| { | |
| "duration": "PT15H40M", | |
| "segments": [ | |
| { | |
| "departure": { | |
| "iataCode": "MAD", | |
| "terminal": "1", | |
| "at": "2022-11-05T23:45:00" | |
| }, | |
| "arrival": { | |
| "iataCode": "GRU", | |
| "terminal": "2", | |
| "at": "2022-11-06T06:35:00" | |
| }, | |
| "carrierCode": "UX", | |
| "number": "57", | |
| "aircraft": { | |
| "code": "789" | |
| }, | |
| "operating": { | |
| "carrierCode": "UX" | |
| }, | |
| "duration": "PT10H50M", | |
| "id": "5", | |
| "numberOfStops": 0, | |
| "blacklistedInEU": false | |
| }, | |
| { | |
| "departure": { | |
| "iataCode": "GRU", | |
| "terminal": "2", | |
| "at": "2022-11-06T10:20:00" | |
| }, | |
| "arrival": { | |
| "iataCode": "SDU", | |
| "at": "2022-11-06T11:25:00" | |
| }, | |
| "carrierCode": "G3", | |
| "number": "1078", | |
| "aircraft": { | |
| "code": "738" | |
| }, | |
| "operating": { | |
| "carrierCode": "G3" | |
| }, | |
| "duration": "PT1H5M", | |
| "id": "6", | |
| "numberOfStops": 0, | |
| "blacklistedInEU": false | |
| } | |
| ] | |
| } | |
| ], | |
| "price": { | |
| "currency": "USD", | |
| "total": "3497.00", | |
| "base": "3390.00", | |
| "fees": [ | |
| { | |
| "amount": "0.00", | |
| "type": "SUPPLIER" | |
| }, | |
| { | |
| "amount": "0.00", | |
| "type": "TICKETING" | |
| } | |
| ], | |
| "grandTotal": "3497.00" | |
| }, | |
| "pricingOptions": { | |
| "fareType": [ | |
| "PUBLISHED" | |
| ], | |
| "includedCheckedBagsOnly": false | |
| }, | |
| "validatingAirlineCodes": [ | |
| "UX" | |
| ], | |
| "travelerPricings": [ | |
| { | |
| "travelerId": "1", | |
| "fareOption": "STANDARD", | |
| "travelerType": "ADULT", | |
| "price": { | |
| "currency": "USD", | |
| "total": "2058.50", | |
| "base": "2005.00" | |
| }, | |
| "fareDetailsBySegment": [ | |
| { | |
| "segmentId": "1", | |
| "cabin": "ECONOMY", | |
| "fareBasis": "IYYRAE", | |
| "class": "Y", | |
| "includedCheckedBags": { | |
| "quantity": 2 | |
| } | |
| }, | |
| { | |
| "segmentId": "2", | |
| "cabin": "BUSINESS", | |
| "fareBasis": "IYYRAE", | |
| "brandedFare": "BUSSTAND", | |
| "class": "I", | |
| "includedCheckedBags": { | |
| "quantity": 2 | |
| } | |
| }, | |
| { | |
| "segmentId": "5", | |
| "cabin": "ECONOMY", | |
| "fareBasis": "PLYRAE", | |
| "class": "P", | |
| "includedCheckedBags": { | |
| "quantity": 1 | |
| } | |
| }, | |
| { | |
| "segmentId": "6", | |
| "cabin": "ECONOMY", | |
| "fareBasis": "PLYRAE", | |
| "brandedFare": "STANDARD", | |
| "class": "B", | |
| "includedCheckedBags": { | |
| "quantity": 1 | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "travelerId": "2", | |
| "fareOption": "STANDARD", | |
| "travelerType": "CHILD", | |
| "price": { | |
| "currency": "USD", | |
| "total": "1438.50", | |
| "base": "1385.00" | |
| }, | |
| "fareDetailsBySegment": [ | |
| { | |
| "segmentId": "1", | |
| "cabin": "ECONOMY", | |
| "fareBasis": "IYYRAE", | |
| "class": "Y" | |
| }, | |
| { | |
| "segmentId": "2", | |
| "cabin": "BUSINESS", | |
| "fareBasis": "IYYRAE", | |
| "brandedFare": "BUSSTAND", | |
| "class": "I" | |
| }, | |
| { | |
| "segmentId": "5", | |
| "cabin": "ECONOMY", | |
| "fareBasis": "PLYRAE", | |
| "class": "P" | |
| }, | |
| { | |
| "segmentId": "6", | |
| "cabin": "ECONOMY", | |
| "fareBasis": "PLYRAE", | |
| "brandedFare": "STANDARD", | |
| "class": "B" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ], | |
| "dictionaries": { | |
| "locations": { | |
| "MAD": { | |
| "cityCode": "MAD", | |
| "countryCode": "ES" | |
| }, | |
| "GIG": { | |
| "cityCode": "RIO", | |
| "countryCode": "BR" | |
| }, | |
| "SDU": { | |
| "cityCode": "RIO", | |
| "countryCode": "BR" | |
| }, | |
| "GRU": { | |
| "cityCode": "SAO", | |
| "countryCode": "BR" | |
| } | |
| }, | |
| "aircraft": { | |
| "738": "BOEING 737-800", | |
| "789": "BOEING 787-9" | |
| }, | |
| "currencies": { | |
| "USD": "US DOLLAR" | |
| }, | |
| "carriers": { | |
| "UX": "AIR EUROPA", | |
| "G3": "GOL LINHAS AEREAS S/A" | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment