git clone git://github.com/sadikzzz/heyspread-php.gitTarball:
https://github.com/sadikzzz/heyspread-php/tarball/master
define("HEYSPREAD_API_KEY", "api_key");
$video = new HeySpread_Video(array(
"title" => "HS test",
"category" => "Comedy",
"tags" => "heyspread tag testing",
"file" => "/home/user/video.avi",
"description" => "Test the HeySpread API")
);
$video->destinations["youtube"] = array("login", "password");
$video->destinations["google"] = array("email", "password");
$video->upload();
HeySpread_Credentials::save("youtube", "ytlogin", "ytpasswd");
$track = new HeySpread_Track();
$track->videoUrl("http://youtube.com/watch?v=sdfds");
$track->videoUrl("http://dailymotion.com/video/xefgd");
$track.save();