The Kewego Ruby Gem
Simple ruby wrapper for Kewego API
gem install kewego_party
client = KewegoParty::Client.new(:token => your_api_token)
client.video_get_details(video_identifier)
=> <#Hashie::Rash access="public" audience_classification="all_public" author="charhadas" available_formats=<#Hashie::Rash format=["ipadHQ", "iphone", "iphone3G", "normal", "old", "slides"]> available_subtitles="available_subtitle" broadcast_end_date="2037-12-31 23:59:59" broadcast_start_date="2011-07-06 13:26:20" categories=<#Hashie::Rash category="Actualidades"> chapter_available="no" comments="0" country="es" default_display_subtitle="none" default_format="sd" description="<p>Entrevista Charhadas</p>" duration="221" keywords=<#Hashie::Rash keyword=["entrevista", "ceos", "socias"]> language="es" metadata=nil pid="" postal_code="28023" production_date="0000-00-00 00:00:00" publication_date="2011-07-06 13:26:20" rate="0" rating_count="0" ratio="1.7778" slide_available="no" thumbnails=<#Hashie::Rash large=<#Hashie::Rash url=["http://tll.kewego.com/t/0/0071/400x300_iLyROoaf22Mr_1.jpg", "http://tll.kewego.com/t/0/0071/400x300_iLyROoaf22Mr_2.jpg", "http://tll.kewego.com/t/0/0071/400x300_iLyROoaf22Mr_3.jpg"]> medium=<#Hashie::Rash url=["http://tll.kewego.com/t/0/0071/154x114_iLyROoaf22Mr_1.jpg", "http://tll.kewego.com/t/0/0071/154x114_iLyROoaf22Mr_2.jpg", "http://tll.kewego.com/t/0/0071/154x114_iLyROoaf22Mr_3.jpg"]> small=<#Hashie::Rash url=["http://tll.kewego.com/t/0/0071/74x54_iLyROoaf22Mr_1.jpg", "http://tll.kewego.com/t/0/0071/74x54_iLyROoaf22Mr_2.jpg", "http://tll.kewego.com/t/0/0071/74x54_iLyROoaf22Mr_3.jpg"]>> title="Entrevista CharHadas" videoblog_link=nil views="16">
- Fork the project.
- Create a topic branch.
- Implement your feature or bug fix.
- Add specs for your feature or bug fix.
- Run bundle exec rake spec. If your changes are not 100% covered, go back to step 6.
- Commit and push your changes.
- Submit a pull request. Please do not include changes to the version or gemspec. (If you want to create your own version for some reason, please do so in a separate commit.)
This library aims to support and is tested against the following Ruby implementations:
- Ruby 1.8.7
- Ruby 1.9.2
- Ruby 1.9.3
- Rubinius
- Ruby Enterprise Edition
If something doesn't work on one of these interpreters, it should be considered a bug.
KewegoParty was inspired by Octokit.