Learn R Programming

virustotal (version 0.3.0)

url_report: Get URL Report

Description

Retrieve a scan report for a given URL or URL ID from VirusTotal.

Usage

url_report(url_id = NULL, ...)

Value

list containing URL analysis results including scan details, detection information, and metadata

Arguments

url_id

URL or URL ID from VirusTotal. String. Required.

...

Additional arguments passed to virustotal_GET.

References

https://docs.virustotal.com/reference

See Also

set_key for setting the API key, scan_url for submitting URLs

Examples

Run this code
if (FALSE) {

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

# Get report using URL
url_report("http://www.google.com")

# Get report using URL ID (base64 encoded URL without padding)
url_report("687474703a2f2f7777772e676f6f676c652e636f6d2f")
}

Run the code above in your browser using DataLab