API EXAMPLE
What kind of interface is it?
Our API is based on a simple XML interface. To use our interface just transfer an GET parameter with the description URL, which contains the to be shortened URL to the api.php.
How can i control the API?
Like addressed in the upper section the API gets controled with the GET method. There are two possibilities to send your information to the API cURL just like Simple XML. You can find an example for Simple XML enclosed.
What´s a token?
The token is the URL code with which the shortened URL can get dissolved into its original state.
It consists of an alpha-numeric character string and can be differntly long according to the configuration.
Construction of the XML API
<results>
- <result>
-- <shortURL>
<!-- full short URL -->
--- <shortURL>http://yoururl.com/xp7t81</shortURL>
<!-- short URL token -->
--- <token>xp7t81</token>
-- </shortURL>
<!-- full URL -->
-- <fullURL>http://google.com</fullURL>
<!-- UNIX timestamp -->
-- <timestamp>1273778061</timestamp>
- </result>
</results>