Skip to content

grow/groupkit-app-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

groupkit-app-engine

A micro utility library to check whether the current user is a member of a Google Group. Requires the user to grant the host application access to read metadata about files in Google Drive.

This library is currently a proof of concept and a WIP.

Usage

  1. Visit the Google API Console and create a new OAuth client ID for a web application.
  2. Ensure you add an authorized redirect URI for /oauth2callback.
  3. Download the secrets to client_secrets.json.
import groupkit

# Must be a user whose credentials we already have.
credentials = <credentials>
user_email = '[email protected]'
group_email = '[email protected]'

groupkit.is_user_in_group(user_email, group_email, credentials)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published