class_docstr: A class for checking the connection to the TripAdvisor Content API and making requests.
  
  Attributes:
      api_key (str): The unique API key to access Tripadvisor content.
docstr: Making a request based on the query and receive data from TripAdvisor.
docstr_tok: ["Making","a","request","based","on","the","query","and","receive","data","from","TripAdvisor","."]
code: def getTripAdvisorData(self, apiCall, **params):
      """
      Making a request based on the query and receive data from TripAdvisor.
      """
      url = "https://api.content.tripadvisor.com/api/v1/location/"
      params_dict = params
  
      if apiCall == TripAdvisorAPICall.SEARCH_LOCATION:
          response = self.location_search(url, params_dict)
          return response.json()["data"]
  
      elif apiCall == TripAdvisorAPICall.LOCATION_DETAILS:
          response = self.location_details(
              url, params_dict, params_dict["locationId"]
          )
          return response.json()
  
      elif apiCall == TripAdvisorAPICall.REVIEWS:
          response = self.location_reviews(
              url, params_dict["locationId"]
          )
          return response.json()["data"]
  
      elif apiCall == TripAdvisorAPICall.PHOTOS:
          response = self.location_photos(
              url, params_dict["locationId"]
          )
          return response.json()["data"]
  
      elif apiCall == TripAdvisorAPICall.NEARBY_SEARCH:
          response = self.location_nearby_search(url, params_dict)
          return response.json()["data"]
  
file_path: mindsdb/mindsdb/integrations/handlers/tripadvisor_handler/tripadvisor_api.py
imports: import requests
  from requests import Response
  from enum import Enum
label_desc: Use image node_id 10 for calling the TripAdvisorAPI obj's underlying member method code with example usage: obj.getTripAdvisorData(apiCall) and returns: response, response, response, response, response