relink
A client for https://rel.ink/ API
Installation
$ pip install relink
Usage
from relink.client import RelinkClient
client = RelinkClient()
shortened_url = client.shorten_url("https://news.ycombinator.com/")
print(shortened_url) # => 'https://rel.ink/Nn8y9p'
client.get_full_url(shortened_url) # => "https://news.ycombinator.com/"
License
relink is licensed under the Apache 2.0 license.
Release files for relink 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| relink-0.0.1.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| relink-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.3 kB
Release files / relink-0.0.1.tar.gz
| Download URL | relink-0.0.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
122259bc9a3ba833941774926aa07206b0a154a384f1744eeef04b95a46b847c
|
|
BLAKE2b-256 checksum How to use checksums |
ad2e5a48e0eccf51fd43a0a03221fdc1752745a01406a44dfbedbd13d5d93c6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5
|
Release files / relink-0.0.1-py3-none-any.whl
| Download URL | relink-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48532f679298b30c41f0ea90464ae5d660d0101db486b8bde9de4a45b56e7e02
|
|
BLAKE2b-256 checksum How to use checksums |
2b0640ee50a897be5628a83140393320d212b098f12a6171a50f98d2183d6920
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5
|