googleapis-auth

1.0.2 • Public • Published

googleapis-auth NPM version

Generate a credentials (token) file for authorized access to Google APIs.

Heavily based on the code sample in Google Drive's Node.js Quickstart guide – just a bit more streamlined, robust, and general-purpose!

Installation

Install the package with NPM:

$ npm install -g googleapis-auth

Usage

First, download your client_secret.json file from the Google API Console.

Then, via the CLI, execute googleapis-auth with the following arguments:

$ googleapis-auth CLIENT_SECRET_PATH CREDENTIALS_PATH

If successful, credentials will be saved to CREDENTIALS_PATH.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    5
  • 1.0.1
    1
  • 1.0.0
    2

Package Sidebar

Install

npm i googleapis-auth

Weekly Downloads

4

Version

1.0.2

License

MIT

Last publish

Collaborators

  • lukehorvat