0.0.14 • Published 5 years ago

@nocodesites/plugin-gdrive-loader v0.0.14

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@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)
      }
    },
  ],
}
0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago