View source: R/get_behaviour_html.R
| get_behaviour_html | R Documentation |
Retrieves a detailed HTML report from a sandbox analysis.
get_behaviour_html(sandbox_id = NULL, output_path = NULL, ...)
sandbox_id |
Sandbox report ID (character string). Required. |
output_path |
Local path to save the HTML file. Optional. |
... |
Ignored. Configure requests with the package options
instead (see |
Raw HTML content or saves to file if output_path specified
https://docs.virustotal.com/reference
set_key for setting the API key,
get_behaviour_report for JSON report
## Not run:
# Before calling the function, set the API key using set_key('api_key_here')
html <- get_behaviour_html(sandbox_id = 'hash_sandboxname')
get_behaviour_html(
sandbox_id = 'hash_sandboxname',
output_path = '/tmp/report.html'
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.