simple exercise using a weather api