Tinyurl.jl

A Julia wrapper around the URL shortening service https://tinyurl.com/

MIT License

Stars
7

Tinyurl.jl 😎

A Julia wrapper around https://tinyurl.com/

Installation

Since Tinyurl is registered in METADATA.jl, you can directly install it like,

julia> Pkg.add("Tinyurl")

Usage

  • Once installed, type and run
using Tinyurl 
tinyurl(your_url_here)

Example

julia> using Tinyurl

# dead simple
julia> tinyurl("http://google.com")
"http://tinyurl.com/2tx"

# hmm, is that even needed? ;-)
help?> tinyurl
search: tinyurl Tinyurl

  tinyurl(url::AbstractString)

  Shortens the supplied URL.