Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (28 sloc) 1.589 kb
e005ede @chalkers Adding plugin and gemspec support
authored
1 == Revver4R
2
3 Revver4R is a simple Ruby interface for Revver's api.
89c61d9 @chalkers Initial release. No tests. Incomplete documentation - but works ;)
authored
4
5 == Install
6
fa4bc6a @chalkers Changed doc
authored
7 gem install chalkers-Revver4R --source http://gems.github.com
89c61d9 @chalkers Initial release. No tests. Incomplete documentation - but works ;)
authored
8
9 == Usage
d4a7924 @chalkers Modifying docs and gemspec for hpricot dependancy
authored
10 Here's how to pull 1 quicktime video with the tag ruby
89c61d9 @chalkers Initial release. No tests. Incomplete documentation - but works ;)
authored
11
d4a7924 @chalkers Modifying docs and gemspec for hpricot dependancy
authored
12 require 'Revver4R'
13 video_search = Revver4R::VideoSearch.new("qt","tag","ruby",{"limit" => 1})
14 videos = video_search.search
15 videos.each do |video|
89c61d9 @chalkers Initial release. No tests. Incomplete documentation - but works ;)
authored
16 puts video.to_yaml
17 end
18
19 For more information at http://developer.revver.com/feeds/mrss
20
21 == License
22 THE MIT LICENSE
23
24 Copyright (c) 2008 Andrew Chalkley
25
26 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
27 documentation files (the "Software"), to deal in the Software without restriction, including without limitation
28 the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
29 permit persons to whom the Software is
30 furnished to do so, subject to the following conditions:
31
32 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
33 Software.
34
35 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
36 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
37 COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
38 OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39
40 http://creativecommons.org/licenses/MIT/
41
42
Something went wrong with that request. Please try again.