shorten: Accepts a long url and returns a tiny.cc short url

Description Usage Arguments Details Value Author(s) See Also

View source: R/shorten.R

Description

Use this function to shorten an arbitrary URL to a tiny.cc short URL. The received short URL will be of the kind http://tiny.cc/[YOUR_HASH].

Usage

1
shorten(longURL, shortURL = NULL)

Arguments

longURL

character, the URL to be shortened

shortURL

character, the desired short URL. If NULL, tiny.cc will create a hash. Default: NULL.

Details

auth must be used preliminary to store your tiny.cc credentials.

Value

A list, representing the response from the tiny.cc API.

Author(s)

Philipp Ottolinger

See Also

<https://tiny.cc/api-docs>


ottlngr/tinycc documentation built on May 23, 2019, 1:10 p.m.