The Kewego Ruby Gem

Simple ruby wrapper for Kewego API

Installation

gem install kewego_party

Continuous Integration

Build Status

Examples

Video Details

  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">

Submitting a Pull Request

  1. Fork the project.
  2. Create a topic branch.
  3. Implement your feature or bug fix.
  4. Add specs for your feature or bug fix.
  5. Run bundle exec rake spec. If your changes are not 100% covered, go back to step 6.
  6. Commit and push your changes.
  7. 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.)

Supported Rubies

This library aims to support and is tested against the following Ruby implementations:

If something doesn't work on one of these interpreters, it should be considered a bug.

Inspiration

KewegoParty was inspired by Octokit.

Copyright (c) 2011 ASPgems. See LICENSE for details.