skip to navigation
skip to content

yourls 1.2.2.post1

Python client for YOURLS.

Installation

$ pip install yourls

Example

>>> from yourls import YOURLSClient

>>> yourls = YOURLSClient('http://example.com/yourls-api.php', signature='6f344c2a8p')
>>> yourls.shorten('http://google.com')
ShortenedURL(
    shorturl='http://example.com/abcde',
    url='http://google.com',
    title='Google',
    date=datetime.datetime(2015, 10, 31, 14, 31, 4),
    ip='203.0.113.0',
    clicks=0,
    keyword='abcde')

Documentation

For in-depth information, visit the documentation!

 
File Type Py Version Uploaded on Size
yourls-1.2.2.post1-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2016-02-23 39KB
yourls-1.2.2.post1.tar.gz (md5) Source 2016-02-23 20KB