Skip to content

Agile-IoT/node-red-contrib-agile-googledrive

Repository files navigation

node-red-contrib-agile-googledrive

A node to upload files to the google drive API.

Important: This the google drive authorization only works on localhost and public domains. The current agile-os implementation is not supported by Google

Instructions

Configuration

  • 1. Edit the node and add a Google Id, follow the instructions of the config node.
  • 2. Add the google ID, click on done for the node config and deploy the flow.
  • 3. Edit the node again, now you can browse the root folder list of your google Drive.

Upload a file

Connect a node with the following output

msg.payload: The text content of the file upload

msg.localpath: The local file path of the file to upload

Either the payload or the localpath are required. The payload has a higher priority as the localpath

Remarks

  • If the google callback returns that the profile fetching failed, you need to enable the google+ api in console.developers.google.com
  • Check in the console.developers.google.com dashboard that the google+ API and google Drive API are active.

changelog:

v1.0.1: Added an output to the node with status messages.

v1.0.0: init

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published