Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

adonaldson/tinyembedly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tinyembedly Build Status

A super tiny Embedly oEmbed library, using HTTParty. It makes a GET request to Embed.ly and returns the response in the form of a hash.

Extracted from Elementalise.

Installation

get install tinyembedly

or, add it to your Gemfile

gem 'tinyembedly'

Prereqs

You don't need an Embed.ly API key, but you should really get one. Sign up for an Embed.ly account (they have a free plan).

Getting started

response = Tinyembedly::Oembed.to_hash("http://youtu.be/12jmp4KVRPM")

Which calls this endpoint and converts it to a hash.

Thats it.

Contributors

  • Ebony Charlton
  • fgro

Noone else. Could you help? Go on. Goooo on. Goooooooo on!

License

This code is free to use under the terms of the MIT license.

About

A super tiny Embedly oEmbed library, using HTTParty

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages