@nocodesites/plugin-gdrive-loader
A nocode source plugin that downloads the contents of a google drive folder recursivly with document and spreadsheet contents extracted.
Last updated a year ago by binocarlos .
MIT · Original npm · Tarball · package.json
$ cnpm install @nocodesites/plugin-gdrive-loader 
SYNC missed versions from official npm registry.

@nocodesites/plugin-gdrive-loader

A nocode source plugin that downloads the contents of a google drive folder recursivly with document and spreadsheet contents extracted.

usage

You need to have created a service account token with google and downloaded the .json file for it.

Also - you need to have given read access to a folder on google drive to that service account and have the id of the folder ready.

Then - you configure the plugin using the nocode-config.js file as shown:

const gdriveLoader = require('@nocodesites/plugin-gdrive-loader')

module.exports = {
  config: {
    title: 'My Example Google Drive Downloader',
  },
  routes: {
    '/': {
      page: 'Index'
    }
  },
  plugins: [
    {
      build: gdriveLoader,
      options: {
        folderId: process.env.GOOGLE_DRIVE_FOLDER_ID,
        serviceAccountToken: require(process.env.GOOGLE_SERVICE_ACCOUNT_TOKEN)
      }
    },
  ],
}

Current Tags

  • 0.0.14                                ...           latest (a year ago)

12 Versions

  • 0.0.14                                ...           a year ago
  • 0.0.13                                ...           a year ago
  • 0.0.12                                ...           a year ago
  • 0.0.10                                ...           a year ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 4
Last Day 1
Last Week 1
Last Month 6
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |