A client for https://rel.ink/ API
Project description
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.
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
relink-0.0.1.tar.gz
(2.3 kB
view details)
Built Distribution
File details
Details for the file relink-0.0.1.tar.gz
.
File metadata
- Download URL: relink-0.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 122259bc9a3ba833941774926aa07206b0a154a384f1744eeef04b95a46b847c |
|
MD5 | 3269debbf1e246a44f6009da77214a73 |
|
BLAKE2b-256 | ad2e5a48e0eccf51fd43a0a03221fdc1752745a01406a44dfbedbd13d5d93c6c |
File details
Details for the file relink-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: relink-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48532f679298b30c41f0ea90464ae5d660d0101db486b8bde9de4a45b56e7e02 |
|
MD5 | d2b440b2e24de0fe4481785df7bc2d34 |
|
BLAKE2b-256 | 2b0640ee50a897be5628a83140393320d212b098f12a6171a50f98d2183d6920 |