Socket
Socket
Sign inDemoInstall

gootenberg

Package Overview
Dependencies
127
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gootenberg

A tool for handling everything a news developer needs from the Google API.


Version published
Weekly downloads
310
decreased by-7.46%
Maintainers
1
Install size
54.3 MB
Created
Weekly downloads
 

Readme

Source

POLITICO

gootenberg

Gootenberg

A tool for handling everything a news developer needs from the Google API.

Why This?

Because news developers are writing their own utilities to process data from Google Drive for special projects rigs, and we can make something better if we stop all that duplication.

Installation

Install the package

$ npm install gootenberg

Usage

Create a Google Doc. Share it with your Google service account's client email (see Authenticating). Get the Doc ID for that document. You can find it in the URL between d/ and /edit like this:

docId

Import it, create a new instance of Gootenberg, authenticate it with your Google credentials, and run one of its asynchronous functions.

import Gootenberg from 'gootenberg';
import credentials from './credentials.json'

async function myFunc(){
  const goot = new Gootenberg();
  await goot.auth.jwt(credentials);

  const data = await goot.parse.archie('MY_DOC_ID');
}

Methods

auth

  • jwt
  • oauth

docs

drive

parse

sheets

Developing & Contributing

If you'd like to contribute, check out these docs.

As a Microservice

If you're interested in setting Gootenberg up as an AWS Lambda microservice, check out Gootenberg on Lambda. There's some basic instructions on set up, but if you need more help, feel free to reach out.

FAQs

Last updated on 06 Apr 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc