It returns a ShortURL. Copy it to the clipboard, and paste it into the address bar of your browser. it should take you to the home page of my weblog. Apparently it works for any URL you give it. And of course you can call it from a script just as easily as you click a link in a browser. Very nice!
RESPONSE - JSON Response with single or multiple url.
Concurrent API Request Limits
The following table lists the limits for various types for concurrent requests (calls).
Overall Number of API call's allow
Number of URL's allow per call
Number of call allow per day
Limits are enforced against the aggregate of all API calls made by the organization in a 24 hour period; limits are not on a per-user basis. When an organization exceeds a limit, all users in the organization may be temporarily blocked from making additional calls. Calls will be blocked until usage for the preceding 24 hours drops below the limit.
If you're unsure how to use this, here's a little function in PHP you can use to get started:
<?php$api_key="xxxxxx";# API Key;$api_password="xxxxxx";# API Password;$api_version="1";# Default version 1;# Single URL Shorten Step$url_array=array('http://www.google.com');# Multiple URL Shorten Step$url_array=array('http://www.google.com','http://www.yahoo.com', 'http://www.yahoo1.com','http://www.yahoo2.com','http://www.yahoo3.com');$short_url= ShortURL($api_key,$api_password,$api_version,$url_array); # Return responce in jSONecho$short_url;?>