Search in documentation:     Advanced search
Browse by category:

getChannelVideos

Views: 141
Votes: 0
Posted: 08 Oct, 2009
Updated: 06 Nov, 2009
Description
Get list of videos in a channel

Request Method

POST, GET

Input Data

appToken (string)

csig (string)

start (integer) (optional)

max_result_per_page (integer) (optional)

fullDescription (boolean) (optional)

Output Data

json format by default. Can also be available in XML, please check "API general parameters" documentatio

Method : iphone/getChannelVideos

Call : http://api.kewego.com/iphone/getChannelVideos

Parameter(s) :

  • appToken : (string) Application Token
      appToken=d24267bee58313337341f46771f3eeaa64b9254856b0ff3dc6eab18718db0a5e

  • csig : (string) channel identifiant
      csig=iLyROasftUX_

  • start (optional) : (integer) (optional) response starting in result.
    Default value : 0
      start=0

  • max_result_per_page (optional) : (integer) (optional) number of items in response.

    Default value : 100
      max_result_per_page=10

  • fullDescription (optional) : (boolean) (optional) add keywords and categories in result
    Default value : false
      fullDescription=false

Data output :

NOTICE : XML response is presented to help reading. However json format is used by default in all iphone package.

<kewego_response>
   <message>
     <total_result>2</total_result>
     <video>
       <sig>iLyROoafZxgM</sig>
       <creation_date>2009-03-26</creation_date>
       <creation_time>11:47</creation_time>
       <title><![CDATA[test - iphone - orphan]]></title>
       <counter>13</counter>
       <rating>0</rating>
       <duration>150</duration>
       <author>nelsounet</author>
       <thumbnail>http://t.kewego.com.int/0/0768/154x114_iLyROoafZxgM_2.jpg</thumbnail>
     </video>
     <video>
       <sig>iLyROoafZxgI</sig>
       <creation_date>2009-03-26</creation_date>
       <creation_time>11:48</creation_time>
       <title><![CDATA[test - iphone - 12 rounds]]></title>
       <counter>84</counter>
       <rating>0</rating>
       <duration>147</duration>
       <author>nelsounet</author>
       <thumbnail>http://t.kewego.com.int/0/0769/154x114_iLyROoafZxgI_2.jpg</thumbnail>
     </video>
   </message>
</kewego_response>

Errors :

  • 19001 : Bad parameters
  • 19002 : appToken error
  • 19003 : No IPhone videos found in this channel
Others in this Category
document Introduction to playing videos in iPhone
document getStream
document getDetails



RSS