THIS DOC IS FOR THE UPCOMING VERSION. DO NOT USE THE EXAMPLE CODE YET! For the old usage, please refer to this comment
A simple URL shortening Python Lib, implementing the most famous shorteners.
pip install pyshorteners
make test
import pyshorteners
s = pyshorteners.Shortener()
print(s.tinyurl.short('www.google.com'))
# prints 'http://tinyurl.com/HASH'
- adfly
- bitly
- chilpit
- clckru
- dagd
- isgd
- nullpointer
- osdb
- owly
- qpsru
- post
- soogd
- tinycc
- tinyurl
- gitio
Please checkout the docs for more info and examples on how to use them.