API documentation

Track ยป POST

Track videos (not uploaded via Hey!Spread).

Arguments

  • video_urls (Required)

    Video links to export separated by space.
    Eg. http://youtube.com/watch?v=fsds http://dailymotion.com/video/xegf

  • title

    Title of the video

  • description

    Description of the video

  • tags

    Tags of the video

  • category

    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, ...)

Request example

cURL

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"

Ruby

track = HeySpread::Track.new
track << "http://youtube.com/watch?v=sdfds"
track << "http://dailymotion.com/video/xefgd"
track.save

PHP

$track = new HeySpread_Track();
$track->videoUrl("http://youtube.com/watch?v=sdfds");
$track->videoUrl("http://dailymotion.com/video/xefgd");
$track.save();

Response example

200 OK

You got the video object in the response. See the response example GET /video.