ugly but functional request and reception of forecast api data