URL shortner using Google APIs
Project description
=============
GURL Shortner
=============
* A tiny implementation of Google URL Shortner. It can shorten a URL and expand a shortened URL.
|example:
|
| >>> import gurlshortner
| >>> gurlshortner.shorten('http://google.com')
| {u'kind': u'urlshortener#url', u'id': u'http://goo.gl/mR2d', u'longUrl': u'http://google.com/'}
| >>> gurlshortner.longify('http://goo.gl/mR2d')
| {u'status': u'OK', u'kind': u'urlshortener#url', u'id': u'http://goo.gl/mR2d', u'longUrl': u'http://google.com/'}
===============
How to install?
===============
$ sudo pip install gurlshortner
==================
Where is the code?
==================
Check out https://github.com/adimania/gurlshortner
GURL Shortner
=============
* A tiny implementation of Google URL Shortner. It can shorten a URL and expand a shortened URL.
|example:
|
| >>> import gurlshortner
| >>> gurlshortner.shorten('http://google.com')
| {u'kind': u'urlshortener#url', u'id': u'http://goo.gl/mR2d', u'longUrl': u'http://google.com/'}
| >>> gurlshortner.longify('http://goo.gl/mR2d')
| {u'status': u'OK', u'kind': u'urlshortener#url', u'id': u'http://goo.gl/mR2d', u'longUrl': u'http://google.com/'}
===============
How to install?
===============
$ sudo pip install gurlshortner
==================
Where is the code?
==================
Check out https://github.com/adimania/gurlshortner
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gurlshortner-0.1.2.tar.gz
(1.0 kB
view details)
File details
Details for the file gurlshortner-0.1.2.tar.gz.
File metadata
- Download URL: gurlshortner-0.1.2.tar.gz
- Upload date:
- Size: 1.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
839e89c8d1603b706a6f4ed53d01056e5e31b7dbc9195791ce2c59b4fcf78cdc
|
|
| MD5 |
7e988c801e928ef2349a1ff62cab6278
|
|
| BLAKE2b-256 |
3c927ebcf12881fe4ef06404cbb1986de92f432ea658870c5a82ab86ce534700
|