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
Project ID:
N/A
N/A
it would be much more appropriate to use a storage bucket like cloudflare r2
Hmm, Okay, is it affordable, perhaps even free?
something something first 10gb free
https://www.cloudflare.com/en-gb/products/r2/
Okay, I have no idea how to go about this.
I take it it's like a online 'storage'?
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/
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.
we all start somewhere
If I have any problems, can I ask here?
as long as they relate to railway in some form or another, yes
Ahh okay, my bad.
no worries, I have no problem giving tips on what to do
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