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 Nearby Location Search request returns up to 10 locations found near the given latitude/longtitude.
  You can use category ("hotels", "attractions", "restaurants", "geos"), phone number, address to search with more accuracy.
  
  Args:
      latLong (str): Latitude/Longitude pair to scope down the search around a specifc point - eg. "42.3455,-71.10767".
      category (str): Filters result set based on property type. Valid options are "hotels", "attractions", "restaurants", and "geos".
      phone (str): Phone number to filter the search results by (this can be in any format with spaces and dashes but without the "+" sign at the beginning).
      address (str): Address to filter the search results by.
      radius (int): Length of the radius from the provided latitude/longitude pair to filter results.
      radiusUnit (str): Unit for length of the radius. Valid options are "km", "mi", "m" (km=kilometers, mi=miles, m=meters.
      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","Nearby","Location","Search","request","returns","up","to","10","locations","found","near","the","given","latitude\/longtitude",".","You","can","use","category","(","``","hotels","''",",","``","attractions","''",",","``","restaurants","''",",","``","geos","''",")",",","phone","number",",","address","to","search","with","more","accuracy",".","Args",":","latLong","(","str",")",":","Latitude\/Longitude","pair","to","scope","down","the","search","around","a","specifc","point","-","eg",".","``","42.3455",",","-71.10767","''",".","category","(","str",")",":","Filters","result","set","based","on","property","type",".","Valid","options","are","``","hotels","''",",","``","attractions","''",",","``","restaurants","''",",","and","``","geos","''",".","phone","(","str",")",":","Phone","number","to","filter","the","search","results","by","(","this","can","be","in","any","format","with","spaces","and","dashes","but","without","the","``","+","''","sign","at","the","beginning",")",".","address","(","str",")",":","Address","to","filter","the","search","results","by",".","radius","(","int",")",":","Length","of","the","radius","from","the","provided","latitude\/longitude","pair","to","filter","results",".","radiusUnit","(","str",")",":","Unit","for","length","of","the","radius",".","Valid","options","are","``","km","''",",","``","mi","''",",","``","m","''","(","km=kilometers",",","mi=miles",",","m=meters",".","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_nearby_search(
      self, url: str, params_dict: dict, language: str = "en"
  ) -> Response:
      """
      The Nearby Location Search request returns up to 10 locations found near the given latitude/longtitude.
      You can use category ("hotels", "attractions", "restaurants", "geos"), phone number, address to search with more accuracy.
  
      Args:
          latLong (str): Latitude/Longitude pair to scope down the search around a specifc point - eg. "42.3455,-71.10767".
          category (str): Filters result set based on property type. Valid options are "hotels", "attractions", "restaurants", and "geos".
          phone (str): Phone number to filter the search results by (this can be in any format with spaces and dashes but without the "+" sign at the beginning).
          address (str): Address to filter the search results by.
          radius (int): Length of the radius from the provided latitude/longitude pair to filter results.
          radiusUnit (str): Unit for length of the radius. Valid options are "km", "mi", "m" (km=kilometers, mi=miles, m=meters.
          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
          + "nearby_search?language={language}&key={api_key}&".format(
              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 9 for calling the TripAdvisorAPI obj's underlying member method code with example usage: obj.location_nearby_search(url, params_dict, language) and returns: response