The fon.gs API is based on simple HTTP GET calls.

The number of requests has been limited at 50 per minute. Please respect this amount.

Methods

Create:

http://fon.gs/create.php?url=http://www.fon.com&linkname=fon

The link name parameter is optional. If you don't use it or if you use an empty one, then a random 6 character link name will be created.

If the link name that you choose already exists, a number will be added to the end of the link and will come back modified.

Possible answers:

OK: http://fon.gs/fon
MODIFIED: http://fon.gs/fon1
ERROR: <error message> (e.g: ERROR: Invalid URL)

Check:

http://fon.gs/check.php?linkname=fon

Possible answers:

AVAILABLE: fon
TAKEN: fon -> http://www.fon.com
ERROR: Invalid linkname