Learn R Programming

virustotal (version 0.7.1)

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. See VirusTotal docs for options.

limit

Number of relationships to retrieve. Optional.

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