code: def report(self, item_id, report_format="json"):
          
          report_format = report_format.lower()
  
          response = self._request("/report/{job_id}/summary".format(job_id=item_id))
  
          if response.status_code == 429:
              raise sandboxapi.SandboxError('API rate limit exceeded while fetching report')
  
          # if response is JSON, return it as an object
          if report_format == "json":
              try:
                  return json.loads(response.content.decode('utf-8'))
              except ValueError:
                  pass
  
          # otherwise, return the raw content.
          return response.content.decode('utf-8')
docs: Retrieves the specified report for the analyzed item, referenced by item_id.
  
          Available formats include: json, html.
  
          :type  item_id:     str
          :param item_id:     File ID number
          :type  report_format: str
          :param report_format: Return format
  
          :rtype:  dict
          :return: Dictionary representing the JSON parsed data or raw, for other
                   formats / JSON parsing failure.