Generate or get existing short URLs, with sequential or custom keyword
Get some statistics about your links: top clicked links, least clicked links, newest links
Output format:
JSON,
XML or
simple raw text
You need to send parameters to
http://goly.in/get-api.php either via
GET or
POST.
These parameters are:
"shorturl" (get short URL for a link)
"expand" (get long URL of a shorturl)
"stats" (get stats about your links)
With action = "shorturl" :
* the url to shorten
* optional keyword for custom short URLs
* output format: either "json", "xml" or "simple"
With action = "expand" :
* the shorturl to expand (can be either 'abc' or 'http://site/abc')
* output format: either "json", "xml" or "simple"
With action = "stats" :
* the filter: either "top", "bottom" , "rand" or "last"
* the limit (maximum number of links to return)
* output format: either "json" or "xml"