The embedly-rb gem

embedly-rb is wrapper for the Embed.ly API

Disclaimer

This gem is currently on development. Only use it if you know what you're doing

Installation

gem install embedly-rb

Usage

# configure you key
Embedly.configure do |config|
  config.key = 'my_key'
end

# choose an endpoint
api = Embedly::Oembed.new :url => 'http://vimeo.com/18150336'

# retrieve from embedly
api.title
# => "Wingsuit Basejumping - The Need 4 Speed: The Art of Flight"

# is it a video type?
api.video?
# => true

Contributing

bundle install
rake

Make a fork and send me a pull request

Copyright (c) 2011 Felipe Elias Philipp. See LICENSE for details.