Skip to contents

Retrieve relationships for a URL

Usage

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

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.

Value

list containing URL relationships

See also

set_key for setting the API key

Examples

if (FALSE) { # \dontrun{

# 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')
} # }