I needed a code to check URLs against the VirusTotal API. As the one I found online wasn’t working with the V2 I decided to write one from scratch.
Remember, it only works with the Version 2 API and only checks for URLs. You also need an API key (public or private, both work).
As VirusTotal’s public API allows you to make 4 requests per minute, you need to limit 2 URL checks per minute as each check may take 2 API calls.