Learn R Programming

virustotal (version 0.7.1)

vt_url_id: Encode a URL as a VirusTotal v3 URL identifier

Description

The API identifies a URL by its unpadded URL-safe base64 encoding, i.e. base64.urlsafe_b64encode(url).strip("="). The standard base64 alphabet is not interchangeable: a / in the identifier would be read as a path separator and the request would address no endpoint.

Usage

vt_url_id(url)

Value

A character string containing the URL identifier.

Arguments

url

A character string containing the URL.