kylejginavan / youtube_it

An object-oriented Ruby wrapper for the YouTube GData API
http://groups.google.com/group/ruby-youtube-library
595 stars 223 forks source link

Documentation needed #40

Closed 2called-chaos closed 12 years ago

2called-chaos commented 12 years ago

It is very hard to dive into the code and the examples are not very helpful in many cases.

stephensprinkle-zz commented 12 years ago

Agreed. This documentation is fantastic to show what's possible; however, a simple walk-thru for how to upload would be super helpful. Great job on the gem btw.

2called-chaos commented 12 years ago

I managed it to finish our YouTube uploader. It syncs our local videos to youtube by using information provided by a yml-file. The whole thing is a kind of a mess (it just had to be done) but I'm currently working on a better version, maybe I provide this as an example to the public.

But this might help in the meantime (but it is a bad example at all!): https://gist.github.com/2427498

stephensprinkle-zz commented 12 years ago

That's helpful, thanks!

I'm hoping to draft up a walk-thru re: setup once I have things stabilized with my configuration.

mastermike14 commented 12 years ago

How do I handle the data returned by client.videos_by(:query). I thought it was an array but thats I guess its not, undefined method `[]' for #YouTubeIt::Response::VideoSearch:0x00000102ba3ff8 :/

chebyte commented 12 years ago

here you have an app demo how to implement the gem with rails, the code is there too

http://youtube-it.heroku.com/