跳转到主要内容

https://rel.ink/ API客户端

项目描述

relink

https://rel.ink/ API客户端

安装

$ pip install relink

使用方法

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/"

许可协议

relink遵循Apache 2.0许可协议。

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源代码发行版

relink-0.0.1.tar.gz (2.3 kB 查看哈希值)

上传时间: 源代码

构建发行版

relink-0.0.1-py3-none-any.whl (3.0 kB 查看哈希值)

上传时间: Python 3

由...