0.0.14 • Published 6 years ago

@nocodesites/plugin-gdrive-loader v0.0.14

Weekly downloads
1
License
MIT
Repository
-
Last release
6 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

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago