designing zipcode weather api functionality