This provides a library for the uh.cx link shortening service.
pip3 install uhcx
from uhcx import Manager
link = Manager.create('http://www.google.com/')
print(link.url_original)
print(link.url_redirect)
print(link.url_preview)
print(link.qr_redirect)
print(link.qr_preview)
For more information visit http://uh.cx/
Have fun!