Project

kaltura

0.01
No commit activity in last 3 years
No release in over 3 years
A ruby client for the Kaltura API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.9.2
~> 2.6.0
~> 1.11.1
~> 1.7

Runtime

>= 1.0.0
>= 0.7.8
 Project Readme

Kaltura

Homepage: http://www.p-rob.me Author: Patrick Robertson Copyright: 2011 License: MIT License

Build Status

Build Status

About Kaltura

Kaltura is a Ruby API Wrapper for the Kaltura API. It differentiates itself from the Kaltura-Ruby library by the fact that it:

  • Is actually tested if that's your bag (I know it's mine).
  • Uses idiomatic Ruby
  • Considerably lighter weight.

Currently, the following services are the only ones implemented:

  • Session
  • Media

Installation

You can install the gem like so:

gem install kaltura

If you are using rails, chuck that bitch in your Gemfile:

gem "kaltura"

You can override some of the defaults in your config/initializers/ folder like so:

#config/initializers/kaltura.rb
Kaltura.configure do |config|
  config.partner_id = 12423
  config.adminsitrator_secret = 'somesecretstring'
  config.service_url = 'kaltura-ce.installed.url.com'
end

Usage

This thing is so easy to use! It's why I made it.

If you need a specific Video:

entry = Kaltura::MediaEntry.get('id')

If you need quite a few more:

entries = Kaltura::MediaEntry.list

If you need to change it up:

entry.update(:tags => "delicious, waffles")

Contributing to Kaltura

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
  • Fork the project
  • Start a feature/bugfix branch
  • Commit and push until you are happy with your contribution
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright

Copyright (c) 2011 Patrick Robertson. See LICENSE.txt for further details.