Skip to main content

Create OAuth2 key file from OAuth2 client id file

Project description

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]

Supported by

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