Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

SMFULibraries

A collection of libraries for the SMFU.in web service

This library provides Python 3 bindings to SMFU.in

Example Usage:

fromsmfuimportShortenershort=Shortener(url='htttp://www.google.com', key=APIKEY)
return_json=short.shorten(full_url_only=True)
return_json2=short.shorten(full_url_only=False)

Specifying full_url_only=True returns

Request Response:
[
{
"id": "9",
"urlkey": "http://smfu.in/7OtnKD",
"url": "http://www.google.com",
"time": "1377799950"
}
]

while full_url_only=False returns

Request Response:
[
{
"id": "9",
"urlkey": "7OtnKD",
"url": "http://www.google.com",
"time": "1377799950"
}
]

About

Python bindings for API for http://smfu.in - a URL shortening service.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages