View source: R/download_file.R
| download_file | R Documentation |
Download a file from VirusTotal
download_file(hash = NULL, output_path = NULL, ...)
hash |
File hash (MD5, SHA1, or SHA256) |
output_path |
Local path to save the downloaded file. Optional. |
... |
Additional arguments passed to |
Raw file content or saves file to specified path
https://docs.virustotal.com/reference
set_key for setting the API key
## Not run:
# Before calling the function, set the API key using set_key('api_key_here')
download_file(hash='99017f6eebbac24f351415dd410d522d',
output_path='/tmp/downloaded_file')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.