Simple API wrapper for bit.ly
Project description
Kyly is a simple and basic API wrapper for Bitly.
Installing using pypi:
pip install kyly
Example:
First generate an access token here.
import kyly
#kyly = kyly.KyLy(token='your token here')
kyly = kyly.KyLy(token='')
#x = kyly.shorten("your link here")
#shorten a link
x = kyly.shorten("https://github.com/centipede000")
#print shortened URL
print(x)
Output:
>>> https://bit.ly/3gMqqnk
The Bitly API has ratelimits, keep those in mind while using.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kyly-0.3.tar.gz
(2.9 kB
view hashes)
Built Distribution
kyly-0.3-py3-none-any.whl
(3.0 kB
view hashes)