Skip to main content

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


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)

Uploaded Source

Built Distribution

kyly-0.3-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page