I am trying to collect the price of tours and activities using the Python API with Amadeus. I read a couple of papers collecting the price of German package holidays using Amadeus Germany GmbH (which I assume to have the same API and data availability). However, despite searching for many examples,I wasn’t able to retrieve the price of tours and activities. While for airfares (or hotels), I run the following script:
import pandas as pd
from amadeus import Client
amadeus_api = 'MY_API'
amadeus_secret = 'SECRET_CODE'
amadeus = Client(client_id = amadeus_api,
client_secret = amadeus_secret)
flights = amadeus.shopping.flight_offers_search.get(originLocationCode = 'airport_departure', destinationLocationCode = 'airport_arrival',departureDate = '2024-07-01',
adults = 1).data
However, when it comes to tours and activities the only code I was able to find is the following (or similar variations):
amadeus.shopping.activity('56777').get().result
However, the above code retrieves only some info on the activity. I would like to extract the price and be able to set the dates. Ideally, I would like to know whether the tour is bundled with air tickets.
Do you know whether it is possible to retrieve such a piece of info on Amadeus? If so, does anyone know how to do this?
Thx a lot for your help!