You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VirusTotal has recently released VT API v2.0, moving v1.0 to depreciated
status. avsubmit.py with API v1.0 still currently works, however access to v1.0
may be removed at some point in the future.
API v2.0 uses new HTTP POST URLs for sending files and requesting reports. The
new send file URL is "https://www.virustotal.com/vtapi/v2/file/scan" and the
request report URL is "https://www.virustotal.com/vtapi/v2/file/report".
From reviewing the sample code on VT's website and avsubmit.py, converting the
Virustotal.upload_file def to v2 should only require changing the HTTP POST URL.
Receiving the report and adding it to the database will require more changes
than just updating the POST URL. Version 2 of the API now returns much more
data and in a different format than v1. Version 2 uses a dictionary for each AV
vendor with additional data included in the key:value pairs.
VirusTotal API v2.0 documentation and sample code available here:
https://www.virustotal.com/documentation/public-api/
Original issue reported on code.google.com by derek.mo...@gmail.com on 7 Feb 2012 at 11:19
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
derek.mo...@gmail.com
on 7 Feb 2012 at 11:19The text was updated successfully, but these errors were encountered: