You are here:
Softonic API
-
Softonic API
-
Resources
-
API Methods
- testEcho
Api
- getHotSoftware
- getHomeChoice
Latest
- getPlatforms
- getChildren
- getParents
- getPrograms
Section
- getInfo
- getRelated
- getScreenshots
- getOpinions
- getOpinion
- getFans
- getVideos
- getDownloadHistory
- getFreeDownloadUrl
Program
- Search
Search
Program getVideos
This function is used to get a list of videos for a program.
http://api2.softonic.com/<inst>/program_getVideos/<id_program>.<format>?key=YOUR_API_KEY
Parameters
- <inst>: Softonic instance (en, es, it, pt ...)
- <format>: XML, JSON or PHP
- <id_program>: Unique program id
XML response sample
http://api2.softonic.com/en/program_getVideos/43041.xml?key=API_KEY&results=2
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok" total_items="1">
<videos>
<video>
<title>Google Talk</title>
<short_description>A quick overview of the interesting feature of Google's chat client.</short_description>
<duration>00:01:16</duration>
<screenshot>http://screenshots.en.sftcdn.net/ven/0/294/google-talk-overview-21072011-en_img125.jpg</screenshot>
<type>Overview</type>
<file_title>Google Talk</file_title>
<url>http://google-talk.en.softonic.com/video/google-talk-google-talk-294</url>
</video>
</videos>
</response>
JSON response sample
http://api2.softonic.com/en/program_getVideos/43041.json?key=API_KEY&results=2
{
"status":"ok",
"total_items":1,
"videos":[
{
"video":{
"title":"Google Talk",
"short_description":"A quick overview of the interesting feature of Google's chat client.",
"duration":"00:01:16",
"screenshot":"http:\/\/screenshots.en.sftcdn.net\/ven\/0\/294\/google-talk-overview-21072011-en_img125.jpg",
"type":"Overview",
"file_title":"Google Talk",
"url":"http:\/\/google-talk.en.softonic.com\/video\/google-talk-google-talk-294"
}
}
]
}
Copyright Softonic © 2009-2012 - All rights reserved
Softonic