R
Railway14mo ago
gvb.

reading files from google drive

Hello, for a discord bot we are creating, we are in need of accessing folders from google drive, as we can't access them with a local directory, duh. As of this, I read into Google API and Drive API, but I am completely new and unaware of how to do this. How would I go about this.
14 Replies
Percy
Percy14mo ago
Project ID: N/A
gvb.
gvb.14mo ago
N/A
Brody
Brody14mo ago
it would be much more appropriate to use a storage bucket like cloudflare r2
gvb.
gvb.14mo ago
Hmm, Okay, is it affordable, perhaps even free?
Brody
Brody14mo ago
something something first 10gb free https://www.cloudflare.com/en-gb/products/r2/
gvb.
gvb.14mo ago
Okay, I have no idea how to go about this. I take it it's like a online 'storage'?
Brody
Brody14mo ago
cloud storage, yes here are the cloudflare docs for r2 https://developers.cloudflare.com/r2/get-started/ you will probably wanna use the aws s3 sdk to access the storage https://developers.cloudflare.com/r2/api/s3/tokens/
gvb.
gvb.14mo ago
Okay, I will have to look into this with a lot of detail, I have never done something like this before so it is completely new to me.
Brody
Brody14mo ago
we all start somewhere
gvb.
gvb.14mo ago
If I have any problems, can I ask here?
Brody
Brody14mo ago
as long as they relate to railway in some form or another, yes
gvb.
gvb.14mo ago
Ahh okay, my bad.
Brody
Brody14mo ago
no worries, I have no problem giving tips on what to do
Adam
Adam14mo ago
For questions unrelated to Railwat, Google is a great resource there will be tutorial videos out there for most services. Just have to know the right keywords