bit.ly, the web service that offers shortening of long URL’s was something that I was quiet frequently using all the, because it was easy for me to remember some of the long URL’s. So I often used to visit their service, paste in my long URL and get a short URL. So, I just thought of checking out their API methods because I was really bored of visiting their website every time and their API documentation was in fact helpful to me. The API did not just only include shortening of URL’s, but also expanding them, looking up for a bit.ly URL associated for a specific URL and much more. And, hence I decided to write a class that would wrap around most of the useful methods of the bit.ly API.
The below link, consists of all the necessary documentation of using this API.