class_docstr: A class for handling connections and interactions with the TripAdvisor Content API.
  
  Attributes:
      api_key (str): The unique API key to access Tripadvisor content.
      api (TripAdvisorAPI): The `TripAdvisorAPI` object for checking the connection to the TripAdvisor API.
code: def __init__(self, name=None, **kwargs):
      super().__init__(name)
  
      args = kwargs.get("connection_data", {})
      self._tables = {}
  
      self.connection_args = {}
      handler_config = Config().get("tripadvisor_handler", {})
      for k in ["api_key"]:
          if k in args:
              self.connection_args[k] = args[k]
          elif f"TRIPADVISOR_{k.upper()}" in os.environ:
              self.connection_args[k] = os.environ[
                  f"TRIPADVISOR_{k.upper()}"
              ]
          elif k in handler_config:
              self.connection_args[k] = handler_config[k]
  
      self.api = None
      self.is_connected = False
  
      tripAdvisor = SearchLocationTable(self)
      self._register_table("searchLocationTable", tripAdvisor)
  
      tripAdvisorLocationDetails = LocationDetailsTable(self)
      self._register_table(
          "locationDetailsTable", tripAdvisorLocationDetails
      )
  
      tripAdvisorReviews = ReviewsTable(self)
      self._register_table("reviewsTable", tripAdvisorReviews)
  
      tripAdvisorPhotos = PhotosTable(self)
      self._register_table("photosTable", tripAdvisorPhotos)
  
      tripAdvisorNearbyLocation = NearbyLocationTable(self)
      self._register_table(
          "nearbyLocationTable", tripAdvisorNearbyLocation
      )
  
imports: import os
  import pandas
  from mindsdb.utilities import log
  from mindsdb.utilities.config import Config
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from .tripadvisor_table import SearchLocationTable
  from .tripadvisor_table import LocationDetailsTable
  from .tripadvisor_table import ReviewsTable
  from .tripadvisor_table import PhotosTable
  from .tripadvisor_table import NearbyLocationTable
  from .tripadvisor_api import TripAdvisorAPI
  from .tripadvisor_api import TripAdvisorAPICall
label_desc: Use image node_id 1 to create a new TripAdvisorHandler object from inherited base classes: APIHandler with example: obj = TripAdvisorHandler(name)