LearnProgramming/LPMCBot — pull request #57 by ecnahc515 (2012-08-30 00:24:00+00:00)
Title: Bitly url shortener

Bitly URL Shortener
=========

This change adds functionality by adding to the url parsing code already in place. I've added a file bitly.py which is a minimalistic piece of code that uses urllib2 to connect to bitly's API site. It then passes the arguments from the function in a GET request so that it can then be used to shorten the URL passed into the function.

Side Note:
---------------

You will want to change the username and API keys starting on line 400:
https://github.com/ecnahc515/LPMCBot/pull/new/master#L1R400