Good idea, but I'm not sure this is the right way to implement this.
get_image is only called when the frontend is open, so unless your frontend is open for a long while, you won't see any animation.
You should probably GET the last 12 rain images so that you can get your animation loaded right when the frontend is open. Then update the animated gif when a new frame is ready.
edit: the URL for the last 24 rain images can be scraped from here
Good idea, but I'm not sure this is the right way to implement this.
get_image
is only called when the frontend is open, so unless your frontend is open for a long while, you won't see any animation.You should probably GET the last 12 rain images so that you can get your animation loaded right when the frontend is open. Then update the animated gif when a new frame is ready.
edit: the URL for the last 24 rain images can be scraped from here