| Class | RBVIMEO::Video |
| In: |
lib/Video.rb
|
| Parent: | Object |
| caption | [R] | |
| comments | [R] | |
| height | [R] | |
| id | [R] | |
| likes | [R] | |
| num_comments | [R] | |
| owner | [R] | |
| plays | [R] | |
| tags | [R] | |
| thumbs | [R] | |
| title | [R] | |
| upload_date | [R] | |
| url | [R] | |
| width | [R] |
Fetches data about a video from the Vimeo site id is the id of the the Vimeo video vimeo is an instance of RBVIMEO::Vimeo
To load a movie with vimeo id 339189: @vimeo = RBVIMEO::Vimeo.new api_key, api_secret video = RBVIMEO::Video.new 339189, @vimeo
Fetches the comments for the specified Video id is the id of the Vimeo video vimeo is an instance of RBVIMEO::Vimeo returns an Array of comments
To load a movie with vimeo id 339189:
comments = video.comments 339189, @vimeo
Parses data using the xml recieved from the Vimeo REST API Should not need to be called by anything other than the initialize method