GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - igrishaev/googl-python: Goo.gl library for Python

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
googl.py
googl.py
 
 

Repository files navigation

Sample usage

import googl

client = googl.Googl("API_key")

result = client.shorten("http://code.google.com/p/python-googl-client/")
print result
>>> {
    u'kind': u'urlshortener#url',
    u'id': u'http://goo.gl/bUnil',
    u'longUrl': u'http://code.google.com/p/python-googl-client/'
}

print client.expand(result["id"])
>>> {
    u'status': u'OK',
    u'kind': u'urlshortener#url',
    u'id': u'http://goo.gl/WubiJ',
    u'longUrl': u'http://code.google.com/p/python-googl-client/'
}

ClientLogin Auth

client_login = googl.get_client_login("login", "pass")
client = googl.Googl("API_key", client_login=client_login)

About

Goo.gl library for Python

Resources

Readme
Activity

Stars

10 stars

Watchers

3 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.