Skip to content

Repository files navigation

yourls

PyPI VersionDocumentationTravisCoveragePython VersionMIT License

Installation

$ pip install yourls

Example

>>>fromyourlsimportYOURLSClient>>>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!

About

Python YOURLS client

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages