lukeed

elixir-wayback

Request moments in history for a web address with the Wayback Machine. (View Docs)

#Install

  1. Add wayback to your list of dependencies in mix.exs:
def deps do
  [{:wayback, "~> 0.1.0"}]
end
  1. Ensure wayback is started before your application:
def application do
  [applications: [:wayback]]
end

#Usage

View the online documentation for more information.

url = "http://example.com"

Wayback.timeline(url)
#=> [tuple(date_string, url_string)]

Wayback.links(url)
#=> [String.t]

Wayback.oldest(url)
#=> String.t

Wayback.newest(url)
#=> String.t

#License

MIT © Luke Edwards

See also

elixir-digitalocean(3), elixir-superscrape(3)