Skip to content

semanticart/url_unroller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/", ...}

About

A simple url unroller (un-shortener) in elixir

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages