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 Photos request returns up to 5 high-quality photos for a specific location. Please note that the limits are different for the beta subscribers.
  You need to upgrade to get the higher limits mentioned here. The photos are ordered by recency.
  
  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","Photos","request","returns","up","to","5","high-quality","photos","for","a","specific","location",".","Please","note","that","the","limits","are","different","for","the","beta","subscribers",".","You","need","to","upgrade","to","get","the","higher","limits","mentioned","here",".","The","photos","are","ordered","by","recency",".","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_photos(
      self, url: str, locationId: str, language: str = "en"
  ) -> Response:
      """
      The Location Photos request returns up to 5 high-quality photos for a specific location. Please note that the limits are different for the beta subscribers.
      You need to upgrade to get the higher limits mentioned here. The photos are ordered by recency.
  
      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}/photos?language={language}&key={api_key}".format(
              locationId=locationId,
              language=language,
              api_key=self.api_key,
          )
      )
      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 8 for calling the TripAdvisorAPI obj's underlying member method code with example usage: obj.location_photos(url, locationId, language) and returns: response