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
    6
    • latest

Version History

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

Package Sidebar

Install

npm i googleapis-auth

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • lukehorvat