# NodeRed Raspberry Pi image upload to Google Drive

**URL:** <https://discourse.nodered.org/t/nodered-raspberry-pi-image-upload-to-google-drive/35035>\
**Category:** General\
**Created:** [29 October 2020 16:13 UTC](https://discourse.nodered.org/t/nodered-raspberry-pi-image-upload-to-google-drive/35035 "2020-10-29T16:13:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcborges](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Post date:** [29 October 2020 16:13 UTC](https://discourse.nodered.org/t/nodered-raspberry-pi-image-upload-to-google-drive/35035/1 "2020-10-29T16:13:05Z")

</div>

Hi, I have looked extensively but did not find a node to transfer an image taken with a Raspberry Pi camera to my Google Drive account.  
Is there any way to do that?  
Thanks

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [29 October 2020 20:52 UTC](https://discourse.nodered.org/t/nodered-raspberry-pi-image-upload-to-google-drive/35035/2 "2020-10-29T20:52:44Z")

</div>

What Google nodes have you looked at?

---

<div class="post-metadata">

**Author:** ![pcborges](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Post date:** [29 October 2020 23:30 UTC](https://discourse.nodered.org/t/nodered-raspberry-pi-image-upload-to-google-drive/35035/3 "2020-10-29T23:30:44Z")

</div>

I typed "Google" at Manage Palette/install and looked into what every one of suggested packages do, even installed some with suggestive names but failed to find one that could transfer files to Google Drive.

I also searched the internet extensively but found nothing that does the job.  
Naturally the chance I may have missed something is not zero.

Any help welcome.  
Thanks

Thanks

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [30 October 2020 01:05 UTC](https://discourse.nodered.org/t/nodered-raspberry-pi-image-upload-to-google-drive/35035/4 "2020-10-30T01:05:25Z")

</div>

I don't use Google if I can help it but this node uses the officially supported library and so likely does what you want:

> **[@alpine-code/node-red-contrib-google](https://flows.nodered.org/node/@alpine-code/node-red-contrib-google)**
>
> Google for Node-RED

---

<div class="post-metadata">

**Author:** ![pcborges](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Post date:** [30 October 2020 01:30 UTC](https://discourse.nodered.org/t/nodered-raspberry-pi-image-upload-to-google-drive/35035/5 "2020-10-30T01:30:22Z")

</div>

Looks like it does...  
Will try, thanks

---

<div class="post-metadata">

**Author:** ![pcborges](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Post date:** [30 October 2020 20:06 UTC](https://discourse.nodered.org/t/nodered-raspberry-pi-image-upload-to-google-drive/35035/6 "2020-10-30T20:06:15Z")

</div>

I did install the node but as far as I understood it was designed to work with Google Claud because it requires an API key and this is something not required in Google Drive.

I will keep trying  
Thanks

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [30 October 2020 20:09 UTC](https://discourse.nodered.org/t/nodered-raspberry-pi-image-upload-to-google-drive/35035/7 "2020-10-30T20:09:09Z")

</div>

You are looking at 2 different use cases. When you access GD via a browser directly, you are using direct authentication. When _you_ write an app to access Google, you do so via an API which needs its own authorisation. That is the purpose of the API key - giving authorisation to your code to access the Google back-end.

For Node-RED to access Google services, you would either need authorisation via an API key or would need an intermediate app that had such authorisation.

---

<div class="post-metadata">

**Author:** ![pcborges](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Post date:** [31 October 2020 01:20 UTC](https://discourse.nodered.org/t/nodered-raspberry-pi-image-upload-to-google-drive/35035/8 "2020-10-31T01:20:01Z")

</div>

OK, when I write code to access a Google Sheet or a Google Script first I have to make (the script or the Sheet) public and copy the given key for that specific entity (Sheet or Script in this case), are you saying that this key is the API key in case?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 December 2020 01:20 UTC](https://discourse.nodered.org/t/nodered-raspberry-pi-image-upload-to-google-drive/35035/9 "2020-12-30T01:20:02Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
