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/'}

Project details


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.1.tar.gz (943 Bytes view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page