Learn R Programming

virustotal (version 0.2.2)

scan_url: Submit URL for scanning

Description

Submit a URL for scanning. Returns a data.frame with scan_id which can be used to fetch the report using url_report

Usage

scan_url(url = NULL, ...)

Arguments

url

url; string; required

Additional arguments passed to virustotal_POST.

Value

data.frame with 7 columns: permalink, resource, url, response_code, scan_date, scan_id, verbose_msg

References

https://developers.virustotal.com/v2.0/reference

See Also

set_key for setting the API key

Examples

Run this code
# NOT RUN {
# Before calling the function, set the API key using set_key('api_key_here')

scan_url("http://www.google.com")
# }

Run the code above in your browser using DataLab