Skip to main content

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


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)

Uploaded Source

Built Distribution

relink-0.0.1-py3-none-any.whl (3.0 kB view details)

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