Track videos (not uploaded via Hey!Spread).
Video links to export separated by space.
Eg. http://youtube.com/watch?v=fsds http://dailymotion.com/video/xegf
Title of the video
Description of the video
Tags of the video
Category of the video
Please see POST /video for valid arguments.
Note: If you give a youtube URL, you don't need to specify the additional parameters (title, description, ...)
curl -X POST \ -d "api_key=75b5744011e2dddbf2261e157505958b" \ -d "video_urls=http://youtube.com/watch?v=sdfds http://dailymotion.com/video/xefgd" \ --url "http://heyspread.com/api2/track"
track = HeySpread::Track.new track << "http://youtube.com/watch?v=sdfds" track << "http://dailymotion.com/video/xefgd" track.save
$track = new HeySpread_Track();
$track->videoUrl("http://youtube.com/watch?v=sdfds");
$track->videoUrl("http://dailymotion.com/video/xefgd");
$track.save();
200 OK
You got the video object in the response. See the response example GET /video.