Google has released the Google URL Shortener API. This means that you can make use of this service in your websites, clients and programs. What this means to the developer is that he can access the Google URL shortener service through REST calls in his programs.
The API is released as a web service. The API can be accessed using REST calls. There are mainly three functions
- Shorten: Used to shorten a long URL
- Expand: Used to expand a shortener URL
- Analytics: Get the details of the shortened URL like how many people clicked the shortened URL and from where
There are two ways by which you can access the service
- With Key
- Without Key
If you have a key, you can be able to make a large number of URL shortener calls. You can also perform without the key. This tutorail explains both the methods of accessing the service.