parameters: (self, debug=False, api_key=None)
docstring: Initialize VirusTotal.
  
          Args:
              debug (bool): Log on terminal or not
              api_key (str): VirusTotal API Key
  
          Raises:
              None
  
          Returns:
              None
docstring_summary: Initialize VirusTotal.
docstring_tokens: Initialize VirusTotal .
function: def __init__(self, debug=False, api_key=None):
          """
          Initialize VirusTotal.
  
          Args:
              debug (bool): Log on terminal or not
              api_key (str): VirusTotal API Key
  
          Raises:
              None
  
          Returns:
              None
          """
          # Initialize logger
          self.logger = AntiVirusLogger(
                  __name__,
                  debug=debug
          )
  
          # VirusTotal End-point API URL
          self._API_URL = "https://www.virustotal.com/vtapi/v2/file/report"
          if api_key:
              self.api_key = api_key
  
          # Error to Reason mapping (as per VirusTotal website)
          self.error_status_code_map = {
              "203": "Request rate limit exceeded. You are making more requests "
                     "than allowed. You have exceeded one of your quotas (minute, "
                     "daily or monthly). Daily quotas are reset every day at 00:00 UTC.",
  
              "400": "Bad request. Your request was somehow incorrect. "
                     "This can be caused by missing arguments or arguments "
                     "with wrong values.",
  
              "403": "Forbidden. You don't have enough privileges to make the "
                     "request. You may be doing a request without providing an "
                     "API key or you may be making a request to a Private API "
                     "without having the appropriate privileges."
          }
function_tokens: def __init__ ( self , debug = False , api_key = None ) : # Initialize logger self . logger = AntiVirusLogger ( __name__ , debug = debug ) # VirusTotal End-point API URL self . _API_URL = "https://www.virustotal.com/vtapi/v2/file/report" if api_key : self . api_key = api_key # Error to Reason mapping (as per VirusTotal website) self . error_status_code_map = { "203" : "Request rate limit exceeded. You are making more requests " "than allowed. You have exceeded one of your quotas (minute, " "daily or monthly). Daily quotas are reset every day at 00:00 UTC." , "400" : "Bad request. Your request was somehow incorrect. " "This can be caused by missing arguments or arguments " "with wrong values." , "403" : "Forbidden. You don't have enough privileges to make the " "request. You may be doing a request without providing an " "API key or you may be making a request to a Private API " "without having the appropriate privileges." }