Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 408 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 408 Bytes

UrlUnroller

An example of unrolling short urls in Elixir.

Depends on HTTPoison running as an application. e.g. in your mix.exs

  def application do
    [applications: [:logger, :httpoison]]
  end

Usage:

> {status, result, response_info} = UrlUnroller.unroll("http://bit.ly/1Bx0zo8")
{:ok, "http://blog.semanticart.com/", ...}