News for hackers. Stuff that matters.
Re:Show HN: Weather API for non-commercial use by Leftium on Tuesday September 14, 2021 @05:20AM (#28522171)
The app hit the DarkSky API free tier limit, so it's displaying mock data. There is a little message at the bottom. (Probably didn't snow two days ago, either...)

This API still works: https://uw.leftium.com/?api=openweather

Re:Show HN: Weather API for non-commercial use by croisillon on Tuesday September 14, 2021 @05:33AM (#28522261)
OK, I don't see the message here and my localization is correctly recognized so I didn't think it could be mock data. Snow two days ago? Let me think... probably not ;)
Re:Show HN: Weather API for non-commercial use by Leftium on Tuesday September 14, 2021 @05:37AM (#28522286)
Ah, probably because you were viewing in landscape mode. The message only appears in portrait mode.

The app's main use case was for mobile, where you're likely to start in portrait orientation.

I'll have to make the landscape mode more usable, especially on desktop.

Re:Show HN: Weather API for non-commercial use by BrandoElFollito on Tuesday September 14, 2021 @05:45AM (#28522344)
Wasn't DarkSky scheduled for closure by the end of the year?
Re:Show HN: Weather API for non-commercial use by Leftium on Tuesday September 14, 2021 @05:50AM (#28522380)
Yes, I thought my project would die with the DarkSky API, but then I found some other free API's:

- https://uw.leftium.com/?api=openweather

- https://uw.leftium.com/?api=visualcrossing

I kept DarkSky the default API because it tends to be the fastest. (And it used to be the most accurate? These days openweather seems to predict the rain better.)

However, soon Open-Meteo will be the default API!