mozillazg / Shorturl
Licence: mit
A URL Shortener Site 短网址生成网站(web.py)
Stars: ✭ 160
Programming Languages
python
139335 projects - #7 most used programming language
shorturl
A URL shortener site powered by Python and web.py.
Features
- Shorten URL.
- QR Code.
- Support all most URL scheme.
Demo
API
Long -> Short
URL: http://3sd.me/j/shorten
Method: POST
Parameters: url
Return: JSON
Examples:
$ curl 3sd.me/j/shorten -d "url=baidu.com"
{"shorten": "http://3sd.me/Jh8x3", "expand": "http://baidu.com"}
Short -> Long
URL: http://3sd.me/j/expand
Method: POST
Parameters: shorten
Return: JSON
Examples:
$ curl 3sd.me/j/expand -d "shorten=Jh8x3"
{"shorten": "http://3sd.me/Jh8x3", "expand": "http://baidu.com"}
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].