|
VoizleApiDocumentation
#Documentation of the Voizle.com REST API methods IntroductionThe voizle.com API allows developers to interact in a programmatic way with the voizle.com website. REST APIShorten Url UsageYour all request should be made to http://api.voizle.com/?PARAMETERS using GET or POST method along with PARAMETERS as Follows: --- Required Parameter
Optional Parameter
Return Format <voizle>
<title> Return page title (Not when type=SHORT) </title>
<description> Return page description (Not when type=SHORT) </description>
<tags> Return page keywords (Not when type=SHORT) </tags>
<originalurl> Return Long URL </originalurl>
<voizleurl> Return Short URL </voizleurl>
<urlid> Return URLID </urlid>
<clicks> Return page Visits (Not when type=SHORT) </clicks>
<refs> Return page Referers (Not when type=SHORT) </refs>
<success> Return true when Long URL is valid URL </success>
</voizle>ExamplesJSON Format{"voizle" : {"originalurl" : "http://www.crazyfriendz.com",
"voizleurl" : "http://u.voizle.com/swkvm", "urlid" : "swkvm", "success" : "true"}}{"voizle" : {"title" : "Crazy Friendz - Social Networking - Login - CrazyFriends, Encyclopedia, QuestionAnswer, Download, FileSharing, CrazyLyrics",
"description" : "Join crazyfriendz and grab all crazy friends , school, college friends, office friends, collected them all and touch with them.",
"tags" : "Low bandwidth, create free Blog, Hidden message, Share photos with friends, Privacy setting, Notifications,
Poker game Fun zone, point system, watcher, bulletin, file sharing, crazy search provider",
"originalurl" : "http://www.crazyfriendz.com", "voizleurl" : "http://u.voizle.com/swkvm",
"urlid" : "swkvm", "clicks" : "23", "refs" : "2", "success" : "true"}}XML Format <voizle>
<originalurl>http://www.crazyfriendz.com</originalurl>
<voizleurl>http://u.voizle.com/swkvm</voizleurl>
<urlid>swkvm</urlid>
</voizle> <voizle>
<title>Crazy Friendz - Social Networking</title>
<description>Join crazyfriendz and grab all</description>
<tags>Low bandwidth, create free Blog, Hidden message, Share photos with friends</tags>
<originalurl>http://www.crazyfriendz.com</originalurl>
<voizleurl>http://u.voizle.com/swkvm</voizleurl>
<urlid>swkvm</urlid>
<clicks>23</clicks>
<refs>2</refs>
</voizle>Plain Format (only with property parameter)http://u.voizle.com/swkvm Crazy Friendz - Social Networking (Note: To get detail of shorten URL or to Expand Voizle Url, Remove "u" Parameter from REST) Expand Short Url UsageFor Expand short url, request should be made to http://api.voizle.com/expand?PARAMETERS using GET or POST method along with PARAMETERS as Follows:
Optional Parameter
Return Format <vexpand>
<shorturl> Return same url which comes with request </shorturl>
<longurl> Return long url if found error return same short url </longurl>
</vexpand>ExamplesJSON Format{"vexpand" : {"shorturl" : "http://u.voizle.com/crazy",
"longurl" : "http://www.crazyfriendz.com"}}XML Format <vexpand>
<shorturl>http://u.voizle.com/crazy</shorturl>
<longurl>http://www.crazyfriendz.com</longurl>
</vexpand>
|
► Sign in to add a comment