Google OAuth2 API . userinfo

Instance Methods

v2()

Returns the v2 Resource.

close()

Close httplib2 connections.

get()

A description of how to use this function

Method Details

close()
Close httplib2 connections.
get()
A description of how to use this function

Args:

Returns:
  An object of the form:

    {
  "email": "A String", # The user's email address.
  "family_name": "A String", # The user's last name.
  "gender": "A String", # The user's gender.
  "given_name": "A String", # The user's first name.
  "hd": "A String", # The hosted domain e.g. example.com if the user is Google apps user.
  "id": "A String", # The obfuscated ID of the user.
  "link": "A String", # URL of the profile page.
  "locale": "A String", # The user's preferred locale.
  "name": "A String", # The user's full name.
  "picture": "A String", # URL of the user's picture image.
  "verified_email": true, # Boolean flag which is true if the email address is verified. Always verified because we only return the user's primary email address.
}