def retrieve_report(self):
        """Get scan results from VirusTotal.

        :returns: Dictionary containing report.
        """
        attr = {'apikey': self._api_key, 'resource': self._file.md5}
        res = requests.post(self._reports_url, data=attr)

        if res.status_code == 200:
            return res.json()
        else:
            return {'error': 'Can\'t retrieve reponse from VirusTotal.'}
Get scan results from VirusTotal.

        :returns: Dictionary containing report.
        
lisa/analysis/virustotal.py