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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
kyly-0.3-py3-none-any.whl
(3.0 kB
view details)
File details
Details for the file kyly-0.3.tar.gz.
File metadata
- Download URL: kyly-0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36df95cbf497e72a3f5c57dd8a959ed8edce776f197fbfe133dae6b6815dd1bc
|
|
| MD5 |
0a6a519076ef7855fc4d6ec5e0bb7b1b
|
|
| BLAKE2b-256 |
e0909f5adf6770dd1bcaa448afebc3c4228951bbdf8b79b573af8cbe4b11d4ca
|
File details
Details for the file kyly-0.3-py3-none-any.whl.
File metadata
- Download URL: kyly-0.3-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cba3594d2ca25f8b3d5a33258de240dc52ca4555eec43c787bdba47631da3bd3
|
|
| MD5 |
5fb63d4eb46638ac07813fe252f67f78
|
|
| BLAKE2b-256 |
b272751c2f20b263dc615fc91c9cd436c6600e744ba6d1bcc4a09cf6df4d3bcf
|