Before anything else, get the API key from https://www.virustotal.com/en/. Next, use set_key to store the API key in an environment variable VirustotalToken. Once you have set the API key, you can use any of the functions.

set_key(api_key = NULL)

Arguments

api_key

API key. String. Required.

References

https://www.virustotal.com/en/documentation/public-api/

Examples

if (FALSE) { set_key('api_key_here') }