As you likely know, after Apple bought DarkSky, the ability to get new DarkSky API keys vanished, and the API itself is soon to be withdrawn from availability. Fortunately, a PhD student has cobbled together an API using public weather data (GFS, GEFS, HRRR) on Amazon Web Services and is offering a free API in the DarkSky format. WooHoo, said I. So I’ve adapted my existing (and soon to be obsolete) DS-forecast.php to use the new API.
The site offering the API is https://pirateweather.net/ (‘pirate’ because HRRR sounds like the ARRRR that pirates supposedly used).
The new API is not quite as full-featured as the real DarkSky API:
English text responses only (but the PW-forecast.php handles multilingual translations built-in)
Sparse ‘conditions’ text… usually only one word.
Alerts are just titles… no link to details
I’ll be adding the offering to the Base-World template set next week. The script set is available from two sources:
How exactely am I to get a free API.
Going to that website.
Ok
But I am getting nowhere.
Sign up for that, subscribe to that, creating a team…etc
But no free api.
Can you explain a bit please.
Yes, I have set up an account.
Do I have to subscribe to the free tier?
Yes, I have seen that I have a choice but all say you have to sign up to get an api.
I do understand that you have to register to get an api but I don’t succeed in doing that.
I will try again tonight. spend some more time on it.
I have chosen the OWM-forecast script but I have a hard time to get this working due to these so called subscriptions. [Sigh]
Registered and an active api in my account but still giving me an error.