Sophie

Sophie

distrib > Fedora > 17 > i386 > media > updates > by-pkgid > 2b63507a770d6893fd4dc527453e3683

python-bitlyapi-0.1.1-2.fc17.noarch.rpm

Description:


This is a thin Python wrapper for the bit.ly API. Basic usage looks
like this:

>>> import bitlyapi
>>> b = bitlyapi.BitLy(api_user, api_key)
>>> res = b.shorten(longUrl='http://www.google.com/')
>>> print res['url']
'http://bit.ly/6Hwstb'
>>> print res['long_url']
'http://www.google.com/'

Other version of this rpm: