When I open a link like this in the browser to the Google Street View Static API
https://maps.googleapis.com/maps/api/streetview?size=640x640&location=fifth%20avenue&key=...
It works as it should for me, and I see the picture.
My question is how I save it to my Firebase Storage?
Normally when my users upload their own image, I write something like:
storage.child('images/' + filename).put(file, {
contentType: 'image/jpeg',
});
How can I upload an image directly from Street View Static API instead?