Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python module to create short links from tinyurl.com

License

NotificationsYou must be signed in to change notification settings

daxeel/TinyURL-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python module to create short links from tinyurl.com

Installation

git clone https://github.com/daxeel/TinyURL-Python.git
cd TinyURL-Python
python setup.py install

Usage

>>>importtinyurl
>>>printtinyurl.shorten("www.abc.com","xyz")>>>http://www.abc.com/xyz
>>>printtinyurl.shorten("www.abc.com","")>>>http://www.abc.com/wxghf

Here, tinyurl has shorten function which takes two parameters. First is URL which you want to short and second one is custome name.

Leave blank second argument if you want random alias.

About

Python module to create short links from tinyurl.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp