google-oauth2-tool

Create OAuth2 key file from OAuth2 client id file


License
BSD-3-Clause
Install
pip install google-oauth2-tool==0.0.3

Documentation

Create OAuth2 key file from OAuth2 client id file

Simple wrapper for oauth2client.tools module.

Build status Latest PyPI version Download format License

Installation

PIP

You can install the latest stable package running this command:

$ pip install google_oauth2_tool

Also you can install the development version running this command:

$ pip install git+http://github.com/dlancer/google_oauth2_tool.git@dev

Usage

Before you start you should:

  1. Create Google OAuth2 client id key in the Google Developers console.
  2. Create file with required Google API scopes.

From command line:

$ oauth2_tool --help

$ oauth2_tool --source=client_id.json --scope=scopes.txt --destination=oauth2_key.json [--strip=true]