Learn R Programming

virustotal (version 0.3.0)

get_url_relationships: Retrieve relationships for a URL

Description

Retrieve relationships for a URL

Usage

get_url_relationships(
  url_id = NULL,
  relationship = NULL,
  limit = NULL,
  cursor = NULL,
  ...
)

Value

list containing URL relationships

Arguments

url_id

URL or URL ID from VirusTotal

relationship

Type of relationship: "communicating_files", "downloaded_files", "graphs", "last_serving_ip_address", "network_location", "redirecting_urls", "redirects_to", "referrer_urls", "submissions"

limit

Number of relationships to retrieve. Integer. Optional. Default is 10.

cursor

String for pagination. Optional.

...

Additional arguments passed to virustotal_GET.

References

https://docs.virustotal.com/reference

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_url_relationships(url_id='http://www.google.com', 
                      relationship='communicating_files')
}

Run the code above in your browser using DataLab