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 getOpinion
This function is used to get opinion data about a given opinion id.
http://api2.softonic.com/<inst>/program_getOpinion/<id_opinion>.<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_getOpinion/318630.xml?key=API_KEY&results=2
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok" total_items="1">
<opinion>
<id_program>7595</id_program>
<id_user>590444</id_user>
<date>2010-10-25 02:31:18</date>
<title>Nero 10</title>
<name>nick500</name>
<views>429</views>
<unlikes>5</unlikes>
<likes>50</likes>
<body>A great program very useful, it is very reliable and don`t have a lot time to integrate and interact with other software</body>
<best>best </best>
<worst>little heavy, but it`s worths it</worst>
<rank>0</rank>
<url>http://nero.en.softonic.com/opinion/nero-10-318630</url>
</opinion>
</response>
JSON response sample
http://api2.softonic.com/en/program_getOpinion/318630.json?key=API_KEY&results=2
{
"status":"ok",
"total_items":1,
"opinion":{
"id_program":"7595",
"id_user":"590444",
"date":"2010-10-25 02:31:18",
"title":"Nero 10",
"name":"nick500",
"views":"429",
"unlikes":"5",
"likes":"50",
"body":"A great program very useful,
it is very reliable and don`t have a lot time to integrate and interact with other software",
"best":"best ",
"worst":"little heavy,
but it`s worths it",
"rank":"0",
"url":"http:\/\/nero.en.softonic.com\/opinion\/nero-10-318630"
}
}
Copyright Softonic © 2009-2012 - All rights reserved
Softonic