Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gurlshortner, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size gurlshortner-0.1.2.tar.gz (1.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page