An Erlang wrapper for oEmbed requests
Erlang
Pull request Compare This branch is 3 commits ahead of tim:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ebin
src
.gitignore
Emakefile
License.txt
Makefile
README.txt
rebar
rebar.config

README.txt

An Erlang wrapper for oEmbed (http://oembed.com/) requests.

Quick start:

  $ make
  ...
  $ erl -pa ebin -s inets
  ...
  1> oembed:test().
  ...
  ok
  2> oembed:request("...URL...", "...Endpoint..."). % defaults to format=xml
  ...
  3> oembed:request("...URL...", "...Endpoint...", [{format, json}]).
  ...


Depends on erlang-rfc4627 (http://www.lshift.net/~tonyg/erlang-rfc4627/)
for decoding JSON responses.