isgd_LinksExpand: Expand a short URL to a longer one

View source: R/isgd_links.R

isgd_LinksExpandR Documentation

Expand a short URL to a longer one

Description

See https://is.gd/apilookupreference.php

Usage

isgd_LinksExpand(shorturl = "", showRequestURL = FALSE)

Arguments

shorturl

- (optional) You can specify the shorturl parameter if you'd like to pick a shortened URL instead of having is.gd randomly generate one. These must be between 5 and 30 characters long and can only contain alphanumeric characters and underscores. Shortened URLs are case sensitive. Bear in mind that a desired short URL might already be taken (this is very often the case with common words) so if you're using this option be prepared to respond to an error and get an alternative choice from your app's user.

showRequestURL

- show URL which has been build and requested from server. For debug purposes.

Examples

## Not run: 
isgd_LinksExpand(shorturl = "https://is.gd/4oIAXJ", showRequestURL = TRUE)

## End(Not run)

dmpe/urlshorteneR documentation built on Aug. 23, 2022, 1:12 a.m.