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: A Location Details request returns comprehensive information about a location (hotel, restaurant, or an attraction) such as name, address, rating, and URLs for the listing
  on Tripadvisor.
  
  Args:
      locationId (str): A unique identifier for a location on Tripadvisor. The location ID can be obtained using the Location Search.
      language (str): The language in which to return results (e.g. "en" for English or "es" for Spanish) from the list of our Supported Languages.
      currency (str): The currency code to use for request and response (should follow ISO 4217).
  
  Returns:
      response (Response): Response object with response data as application/json
docstr_tok: ["A","Location","Details","request","returns","comprehensive","information","about","a","location","(","hotel",",","restaurant",",","or","an","attraction",")","such","as","name",",","address",",","rating",",","and","URLs","for","the","listing","on","Tripadvisor",".","Args",":","locationId","(","str",")",":","A","unique","identifier","for","a","location","on","Tripadvisor",".","The","location","ID","can","be","obtained","using","the","Location","Search",".","language","(","str",")",":","The","language","in","which","to","return","results","(","e.g",".","``","en","''","for","English","or","``","es","''","for","Spanish",")","from","the","list","of","our","Supported","Languages",".","currency","(","str",")",":","The","currency","code","to","use","for","request","and","response","(","should","follow","ISO","4217",")",".","Returns",":","response","(","Response",")",":","Response","object","with","response","data","as","application\/json"]
code: def location_details(
      self,
      url: str,
      params_dict: dict,
      locationId: str,
      language: str = "en",
  ) -> Response:
      """
      A Location Details request returns comprehensive information about a location (hotel, restaurant, or an attraction) such as name, address, rating, and URLs for the listing
      on Tripadvisor.
  
      Args:
          locationId (str): A unique identifier for a location on Tripadvisor. The location ID can be obtained using the Location Search.
          language (str): The language in which to return results (e.g. "en" for English or "es" for Spanish) from the list of our Supported Languages.
          currency (str): The currency code to use for request and response (should follow ISO 4217).
  
      Returns:
          response (Response): Response object with response data as application/json
      """
      url = (
          url
          + "{locationId}/details?language={language}&key={api_key}&".format(
              locationId=locationId,
              api_key=self.api_key,
              language=language,
          )
      )
      url = self.getURLQuery(url, params_dict)
      response = self.getResponse(url)
      return response
  
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 6 for calling the TripAdvisorAPI obj's underlying member method code with example usage: obj.location_details(url, params_dict, locationId, language) and returns: response