Author Topic: Weather for a website  (Read 891 times)

0 Members and 1 Guest are viewing this topic.

Offline adamtheaxe

  • Member
  • *
  • Posts: 1
Weather for a website
« on: May 19, 2016, 01:39:08 PM »
Hi everyone. I'm trying to set up a new website and have a weather feature where users can simply input their zip code to get their forecast. I remember a site called ham weather years ago but see the site has changed. Is there anything out there that is free that would allow me to still do this?  Thanks!

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Weather for a website
« Reply #1 on: May 19, 2016, 05:05:27 PM »
Hi,
there are several websites that offer forecast, but the problem is that it is useful when you want to have weather for your location. Because you cache the result, in other words, you would load it say once or twice an hour to update it.

If however, you wanted to give users the possibility to choose a zip code, then you cannot cache it, and in such case you would easily exceed the limit for queries that are available in the free plan. If you want to offer forecast for any location then it is likely not going to be possible for free.

Yahoo used to have a free API with no API key required, but about 2 months ago they changed it and it became very inaccurate, buggy and very very unreliable. I remember I once tried it when it was still working, but remember there are many bots also, which will very quickly exhaust your free api quota.

 

anything