slugify_url {gh}R Documentation

Compute the suffix that gh uses for GitHub API URL specific PATs

Description

Compute the suffix that gh uses for GitHub API URL specific PATs

Usage

slugify_url(url)

Arguments

url

Character vector HTTP/HTTPS URLs.

Value

Character vector of suffixes.

See Also

gh_token()

Examples

# The main GH site
slugify_url("https://api.github.com")

# A custom one
slugify_url("https://github.acme.com")

[Package gh version 1.1.0 Index]