weather api and hearst code merged