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 getScreenshots
This function is used to get a list of screenshots of a specific program. The response includes three different sizes for every image:
- small: Returns an image maximum 100px wide
- medium: Returns an image maximum 300px wide
- large: Returns an image maximum 700px wide
http://api2.softonic.com/<inst>/program_getScreenshots/<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_getScreenshots/4170.xml?key=API_KEY&results=2
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok" total_items="1">
<screenshots>
<screenshot>
<small>http://screenshots.en.sftcdn.net/en/scrn/4000/4170/turbozip-5.jpg?key=api</small>
<medium>http://screenshots.en.sftcdn.net/en/scrn/4000/4170/turbozip-4.jpg?key=api</medium>
<large>http://screenshots.en.sftcdn.net/en/scrn/4000/4170/turbozip-2.jpg?key=api</large>
</screenshot>
</screenshots>
</response>
JSON response sample
http://api2.softonic.com/en/program_getScreenshots/4170.json?key=API_KEY&results=2
{
"status":"ok",
"total_items":1,
"screenshots":[
{
"screenshot":{
"small":"http:\/\/screenshots.en.sftcdn.net\/en\/scrn\/4000\/4170\/turbozip-5.jpg?key=api",
"medium":"http:\/\/screenshots.en.sftcdn.net\/en\/scrn\/4000\/4170\/turbozip-4.jpg?key=api",
"large":"http:\/\/screenshots.en.sftcdn.net\/en\/scrn\/4000\/4170\/turbozip-2.jpg?key=api"
}
}
]
}
Copyright Softonic © 2009-2012 - All rights reserved
Softonic