Learn R Programming

virustotal (version 0.5.0)

set_key: Set VirusTotal API Key

Description

Stores your VirusTotal API key in an environment variable for use by other package functions. Get your API key from https://www.virustotal.com/.

Usage

set_key(api_key)

Value

Invisibly returns TRUE on success

Arguments

api_key

VirusTotal API key (character string). Required.

References

https://docs.virustotal.com/reference

Examples

Run this code
if (FALSE) {
# Set your API key
set_key('your_64_character_api_key_here')

# Verify it's set
Sys.getenv("VirustotalToken")
}

Run the code above in your browser using DataLab