The twirl API
We built a small API for the use with twirl, which can be used by other applications, plugins or extensions you would like to built with twirl's short links. You can access the API with a normal call to a special website that will deliver the service.API Documentation
You can reach the twirl API with a simple HTTP GET request under the following link:http://twirl.at/api.php
A simple API call would look like this: http://twirl.at/api.php?url=http://www.atomtigerzoo.com
Just replace http://www.atomtigerzoo.com with the web address you would like to shrink.
Note: If you don't specify the protocol (http/https/ftp) for the URl, http is added.
The above call will return the shortened twirl link http://twirl.at/0 in plain text. If the call fails the API will return HTTP/1.1 500 Internal Server Error and an appropriate error message.
