Learn R Programming

virustotal (version 0.7.1)

get_analysis: Get Analysis Results

Description

Retrieves the results of a file or URL analysis by its analysis ID.

Usage

get_analysis(id = NULL, ...)

Value

list containing analysis results including status and detection stats

Arguments

id

Analysis ID (character string). Required.

...

Additional arguments passed to virustotal_GET.

References

https://docs.virustotal.com/reference/analysis

See Also

set_key for setting the API key

Examples

Run this code
if (FALSE) {

# Before calling the function, set the API key using set_key('api_key_here')

get_analysis(id = 'NjY0MjRlOTFjMDIyYTkyNWM0NjU2NWQzYWNlMzFmZmI6MTI4NTk')
}

Run the code above in your browser using DataLab