Search in documentation:     Advanced search
Browse by category:

getVideos

Views: 818
Votes: 0
Posted: 30 Apr, 2008
Updated: 04 Nov, 2009
Description

get videos list from a user

Request Method

POST, GET

Input Data

username (string)

appToken (string)

start (integer) optional

max_result_per_page (integer) optional

fullDescription (boolean) optional

token (string) optional

filters (XML string) optional

Output Data

XML


Data Input:

·        username: username of the owner of videos (string)

            
username=john

·        appToken : Application Token (string)

appToken=   d24267bee58313337341f46771f3eeaa64b9254856b0ff3dc6eab18718db0a5e 

·        start : starting position of the result (integer), default value : 0 optional (0 is the first video, 1 the second, etc...)

            
start=10

·        max_result_per_page : maximum total number of results returned (integer), default value : 50 optional

            
max_result_per_page=50

·        fullDescription : add full description in response (boolean) optional

            
fullDescription=true

·        token : allows you to get all your own videos even if some are set as Private (string) optional

            
token=EkFKJ3dkjsk3Dj397d
 

·        filters: get only results that you want (pro/ugc videos, all_public/adult content, format (flv,mp4,iPhone....)

            
Please check detailed documentation : Filters in search functions

Calling:

Data output:

·        XML message

            
<kewego_response>

            <message>
               <video>

                                   <creation_date>16-11-2006</creation_date>
                                   <creation_time>15:17</creation_time>
                                   <title><![CDATA[David Hasselhoff - Hooked on a Feeling]]></title>
                                   <description_short><![CDATA[Certainement son meilleur clip !!!]]></description_short>
                                   <description_long><![CDATA[Certainement son meilleur clip !!!]]></description_long>
                                   <counter>424</counter>
                                   <sig>iLyROoaftI1v</sig>
                                   <thumbnail_url>http://t.kewego.com/t/0/0386/74x54_iLyROoaftI1v_2.jpg</thumbnail_url>

<duration>209</duration>
                        </video>
            </message>
</kewego_response>
 if fullDescription field is enabled, keywords videos are added to the result.

Output Details:

creation_date

Upload date of the video

creation_time
Upload time of the video
title
Title of the video
description_short
Short description of the video
description_long
Long description of the video
counter
View counter of the video
sig
Sig (identifier) of the video
thumbnail_url
Url of a thumbnail image
Also read
document getAuthToken

Others in this Category
document getChannels
document sendMessageTo
document getProfile
document getFavorites
document removeFavorite
document addFavorite
document getKADs
document create
document createSso
document setProfile



RSS