PyWhatKit
PyWhatKit copied to clipboard
[Feature Request] Compatibility with Cloudflare R2
Cloudflare R2 is a great object storage platform and utilizes the same S3 API. Would be great to see this functionality added!
What's hindering you from using ist right now if the cloudflare api is compatible with S3 api?
Anyway do you have a url to a public accessible cloudflare storage so I could try it out and fix occurring problems.
Hey there! Thanks for your fast response. The format used to access Cloudflare R2 buckets is using an access key ID and a secret access key, in addition to entering the API endpoint for that particular bucket. It appears this repo only supports unauthenticated viewing of publicly accessible buckets. To answer your question about a test bucket, R2 buckets are free up to 10GB here: https://www.cloudflare.com/products/r2/
I don't have the time to implement authentication, sorry. However every PR is welcome