Cloudflare object storage redirecting to AWS?

Hey, so I wanted to use cloud storage services from Cloudflare, and it seems there is no wrapper for Python at least? Also tried looking into the API to see if I can just fetch the data
4 Replies
The King
The KingOP10mo ago
And then when I click on a API endpoint it redirects me to Amazon AWS?? I'm not understanding what's happening
Hello, I’m Allie!
Many Object Storage Providers(Cloudflare Included) implement the S3 API first built by Amazon. This is so that tools that work with S3(of which there are a lot) are generally compatible with all other providers that implement that API
The King
The KingOP10mo ago
I see, thanks for the explanation. So if I want to use those I have to use Wrangler (as far as I understood) otherwise I can't? (and possibly since I'm not doing it in via js) Is there any other ways to access this service using the API?
Hello, I’m Allie!
No, you should be able to use any S3-compatible Library. One that should work in Python is boto3
Cloudflare Docs
boto3 · Cloudflare R2 docs
You must generate an Access Key before getting started. All examples will utilize access_key_id and access_key_secret variables which represent the …
Want results from more Discord servers?
Add your server