This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 93ba355b1e4095bf1ae10c53b3472744083366b4
tree f52f5f43cf4717c4402eb0f14d5505eefe6e52b4
parent f858b95343ebd9a9b47f4d0b815d9fff9315bab5
tree f52f5f43cf4717c4402eb0f14d5505eefe6e52b4
parent f858b95343ebd9a9b47f4d0b815d9fff9315bab5
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README | ||
| |
heyspread-ruby.gemspec | ||
| |
lib/ |
README
= Hey!Spread: Video Promoting Web Service * Address: http://heyspread.com * Email: bruno.celeste@particle-s.com * Blog: http://particle-s.com * Twitter: http://twitter.com/HeyWatch * API documentation: http://heyspread.com/page/api-documentation * Valid site names to use the API: http://heyspread.com/page/api-documentation-sites = Usage == Upload a video to YouTube and Google Video: HeySpread::Account.api_key = "api_key" video = HeySpread::Video.new( :title => "HS test", :category => "Comedy", :tags => "heyspread tag testing", :file => "/home/user/video.avi", :description => "Test the HeySpread API" ) #Set the destination sites #Not required if you saved you Credentials video.destinations["youtube"] = ["login", "password"] video.destinations["google"] = ["email", "password"] video.upload == Save YouTube credentials: HeySpread::Credentials.save( :site => "youtube", :login => "testyt", :password => "test" ) => true == Track videos track = Track.new track.video_urls << "http://youtube.com/watch?v=fsdfsd" track.video_urls << "http://dailymotion.com/video/xefds" video = track.save








