code: def __init__(self, api_key):
      self.api_key = api_key
      self.base_endpoint = "https://api.oilpriceapi.com/v1/prices"
      self.valid_values_by_type = ["spot_price", "daily_average_price"]
      self.valid_values_by_code = ["BRENT_CRUDE_USD", "WTI_USD"]
  
file_path: mindsdb/mindsdb/integrations/handlers/oilpriceapi_handler/oilpriceapi.py
imports: import requests
label_desc: Use image node_id 1 to create a new OilPriceAPIClient object  with example: obj = OilPriceAPIClient(api_key)