YY7.com API

Features

* Generate or get existing short URLs, with sequential.
* Get some statistics about your links: top clicked links, least clicked
links, newest links * Output format: JSON, XML, or simple raw text

Usage

You need to send parameters to http://yy7.com/api.php either via GET or POST.
These parameters are:

* The requested action: either "shorturl" (get short URL for a link) or
"stats" (get stats about your links)

* With action = "shorturl" :
	o url - the url to shorten
	o format - output format: either "json", "xml" or "simple"

	eg http://yy7.com/api.php?action=shorturl&url=http://www.WhatTheHellTheseDomains.com&format=xml

* With action = "stats" :
	o filter - the filter: either "top", "bottom" or "last"
	o limit - the limit (maximum number of links to return)
	o format - output format: either "json" or "xml"

	** the stats API is only returning aggregated stats at this time **