Streamio Ruby Gem available for Ruby Developers!

June 20, 2011

Attention Ruby Developers!

In our continuous efforts to facilitate the integration of our Streamio REST API, we’ve just released our official Ruby wrapper as a Gem.

If you are developing applications in Ruby, this will be of tremendous help to you.

Check out some example usages below.

require "streamio"

# Configure it
Streamio.configure do |config|
  config.username = "your_account_name"
  config.password = "your_api_private_key"
end

# Create a Video
video = Streamio::Video.create(
  :file => File.new("path/to/an/awesome.movie")
)

# Update the Video
video.title = "Awesome!"
video.tags = ["Awesome", "HD"]
video.save

# Find your videos
videos = Streamio::Video.all

# Query your videos
videos = Streamio::Video.all(
  :tags => ["HD"],
  :limit => 5,
  :order => "plays.desc"
)

Naturally, you can work with your Image, Encoding Profile and Upload objects in the same way as illustrated above.

Gem install ‘streamio’ now to get started and check out the README on our project page at Github to learn more.

We hope you will love our new Gem as much as we do.

As always, if you have any questions, just beep us an e-mail.

Most recent