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
Api testEcho
We do all use the Hello World when we start programming! The testEcho function will print the text you pass inside the response body.
http://api2.softonic.com/<inst>/api_testEcho/<text>.<format>?key=YOUR_API_KEY
Parameters
- <inst>: Softonic instance (en, es, it, pt ...)
- <format>: XML, JSON or PHP
- <text>: The word that will be displayed
XML response sample
http://api2.softonic.com/en/api_testEcho/hello-world.xml?key=API_KEY <?xml version="1.0" encoding="UTF-8"?> <response status="ok" total_items="1"> <value>hello-world</value> </response>
JSON response sample
http://api2.softonic.com/en/api_testEcho/hello-world.json?key=API_KEY
{
"status":"ok",
"total_items":1,
"value":"hello-world"
}
Copyright Softonic © 2009-2012 - All rights reserved
Softonic