Simple wrapper for oauth2client.tools module.
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
Before you start you should:
- Create Google OAuth2 client id key in the Google Developers console.
- 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]