Learn R Programming

gh (version 1.1.0)

slugify_url: 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

Run this code
# NOT RUN {
# The main GH site
slugify_url("https://api.github.com")

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

Run the code above in your browser using DataLab