Skip to content

Instantly share code, notes, and snippets.

@dokipen
Created December 15, 2010 19:38
Show Gist options
  • Save dokipen/742483 to your computer and use it in GitHub Desktop.
Save dokipen/742483 to your computer and use it in GitHub Desktop.
%w{oembed pp}.each{|m|require m}
KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
EmbedlyPro = OEmbed::Provider.new("http://pro.embed.ly/v1/api/oembed")
response = EmbedlyPro.get("http://blog.embed.ly", {:key => KEY})
pp response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment