Weather changeable content

How is possible to change content by the weather ?

Example … Sunny outside > ice cream image layout
Rainy > umbrella layout

Possible ?
Thanks !

You could use the API to change layouts or schedule campaigns based on the weather.