class_docstr: The OilPriceAPI handler implementation
class_docstr_tok: ["The","OilPriceAPI","handler","implementation"]
docstr: Initialize the OilPriceAPI handler.
  
  Parameters
  ----------
  name : str
      name of a handler instance
docstr_tok: ["Initialize","the","OilPriceAPI","handler",".","Parameters","--","--","--","--","--","name",":","str","name","of","a","handler","instance"]
code: def __init__(self, name: str, **kwargs):
      """Initialize the OilPriceAPI handler.
  
      Parameters
      ----------
      name : str
          name of a handler instance
      """
      super().__init__(name)
  
      connection_data = kwargs.get("connection_data", {})
      self.connection_data = connection_data
      self.kwargs = kwargs
      self.client = OilPriceAPIClient(self.connection_data["api_key"])
      self.is_connected = False
  
      latest_price_data = OilPriceLatestTable(self)
      self._register_table("latest_price", latest_price_data)
  
      past_day_price_data = OilPricePastDayPriceTable(self)
      self._register_table("past_day_price", past_day_price_data)
  
file_path: mindsdb/mindsdb/integrations/handlers/oilpriceapi_handler/oilpriceapi_handler.py
imports: from collections import OrderedDict
  from mindsdb.integrations.handlers.oilpriceapi_handler.oilpriceapi_tables import OilPriceLatestTable, OilPricePastDayPriceTable
  from mindsdb.integrations.handlers.oilpriceapi_handler.oilpriceapi import OilPriceAPIClient
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.utilities import log
  from mindsdb_sql import parse_sql
label_desc: Use image node_id 1 to create a new OilPriceAPIHandler object from inherited base classes: APIHandler with example: obj = OilPriceAPIHandler(name)