This is a python package for t.ly url shortener service.
Project description
This is a python package for t.ly url shortener service. Developed by Priom Deb with supports from t.ly team.
Try the project by installing it.
pip install tdotly
tdotly 1.0a1.dev1
This is a developmental release of an alpha release. You can try it now. The package has built-in documentation of all its methods. Visit GitHub project page for more information.
Documentation
from tdotly import tly
# Create an instance
short = tly.tly_shorturl()
# Initialize with your API token from t.ly account
short.initialize(user_api_token)
Methods | Description |
---|---|
short.create_short_url("https://example.com") | Create a short url for a long url |
short.short_url_stats(short_url="https://t.ly/xxxx") | Get the stats for the short url |
short.get_short_url_info(user_short_url) | Get information of your short url |
short.edit_url_settings(**kwargs) | Update/Edit some settings of your short url |
short.delete_short_url("t.ly/xxxx") | Delete your short url |
short.expand("https://t.ly/xxxx") | Expand your short url to see the original long url and the expired status of short url |
More documentation will updated soon.
For any help contact the the package developer Priom Deb or the t.ly Support.
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
tdotly-1.0a1.dev2.tar.gz
(15.9 kB
view hashes)
Built Distribution
Close
Hashes for tdotly-1.0a1.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f63fbc3bc03b2da2669aafadcdb5b7f7a139fb268de974baaf157d0a33889ba |
|
MD5 | 9e353bb67969d277ff45dac3aa0d6b46 |
|
BLAKE2b-256 | 60cbd55294f119b73fc26c5af433075e7aec22d71b31f883123f4961979f0b15 |