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: The Location Reviews request returns up to 5 of the most recent reviews for a specific location. Please note that the limits are different for the beta subscribers.
  
  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.
  
  Returns:
      response: Response object with response data as application/json
docstr_tok: ["The","Location","Reviews","request","returns","up","to","5","of","the","most","recent","reviews","for","a","specific","location",".","Please","note","that","the","limits","are","different","for","the","beta","subscribers",".","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",".","Returns",":","response",":","Response","object","with","response","data","as","application\/json"]
code: def location_reviews(
      self, url: str, locationId: str, language: str = "en"
  ) -> Response:
      """
      The Location Reviews request returns up to 5 of the most recent reviews for a specific location. Please note that the limits are different for the beta subscribers.
  
      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.
  
      Returns:
          response: Response object with response data as application/json
      """
      url = (
          url
          + "{locationId}/reviews?language={language}&key={api_key}&".format(
              locationId=locationId,
              api_key=self.api_key,
              language=language,
          )
      )
  
      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 7 for calling the TripAdvisorAPI obj's underlying member method code with example usage: obj.location_reviews(url, locationId, language) and returns: response