TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pirate Weather: A free, open, and documented forecast API

1149 pointsby calebeggover 2 years ago

33 comments

pca2over 2 years ago
Can confirm pirateweather.net's forecast API working as a drop-in replacement for DarkSky's. I was able to fix a soon to be broken DarkSky bitbar script by just replacing the URLs/API keys to pirateweather's in under 5 minutes.
评论 #34335102 未加载
评论 #34330647 未加载
评论 #34330625 未加载
NoboruWatayaover 2 years ago
&gt; Why &quot;PirateWeather&quot;? I&#x27;ve always thought that the HRRR model was pronounced the same way as the classic pirate &quot;ARRR&quot;. Also, there is one company out there that thinks APIs can be copyrighted, which might apply here.<p>This answers the first question I had upon seeing the name, which was, is it free, open, documented <i>and legal</i>? Based on the above the answer seems to be &quot;probably&quot;.<p>Very commendable effort, and I hope the project can last. It seems to be very difficult to maintain a free and reliable weather API so hopefully the dev is not biting off more than he can chew.
评论 #34330644 未加载
评论 #34331772 未加载
评论 #34331299 未加载
评论 #34333593 未加载
Humphreyover 2 years ago
As an Australian, my main issue with almost all Weather API&#x27;s and services is that the data is almost always sub-par to the weather data provided by the Bureau of Meteorology (BOM). It would be great if there was a backend provider concept, so that I could tell my devices (such as an iPhone) to only use BOM data for it&#x27;s inbuilt widgets.
评论 #34333715 未加载
评论 #34334252 未加载
评论 #34333982 未加载
jronover 2 years ago
I was really hoping <a href="https:&#x2F;&#x2F;merrysky.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;merrysky.net&#x2F;</a> had a graphical forecast similar to weather underground&#x27;s 10 day. I&#x27;ve yet to find anything else that quickly shows everything you&#x27;d want to know in a single image. Even the mouseover timeline is perfection. It is so good and seemingly exclusive to WU that I sometimes wonder if they hold a patent for it.
评论 #34330698 未加载
评论 #34330897 未加载
评论 #34331387 未加载
评论 #34333083 未加载
评论 #34332474 未加载
评论 #34331044 未加载
评论 #34336572 未加载
评论 #34356180 未加载
评论 #34342769 未加载
datalusover 2 years ago
I found this old blog article at a high level on how Dark Sky works... about 12 years old now. I always loved this app and was kind of sad when Apple acquired them... but to have Apple come in and just buy your app out is probably a great feeling for the founders :)<p>Anyhow, here&#x27;s the url:<p><a href="https:&#x2F;&#x2F;jackadam.github.io&#x2F;2011&#x2F;how-dark-sky-works" rel="nofollow">https:&#x2F;&#x2F;jackadam.github.io&#x2F;2011&#x2F;how-dark-sky-works</a>
评论 #34332996 未加载
评论 #34334403 未加载
DotaFanover 2 years ago
I really like this free Forecase API too <a href="https:&#x2F;&#x2F;developer.yr.no&#x2F;" rel="nofollow">https:&#x2F;&#x2F;developer.yr.no&#x2F;</a>
评论 #34331221 未加载
ourmandaveover 2 years ago
How does this differ from NOAA weather.gov api?<p><a href="https:&#x2F;&#x2F;www.weather.gov&#x2F;documentation&#x2F;services-web-api" rel="nofollow">https:&#x2F;&#x2F;www.weather.gov&#x2F;documentation&#x2F;services-web-api</a><p>Or is this a friendlier overlay of their interface?
评论 #34331822 未加载
评论 #34331701 未加载
评论 #34332821 未加载
earthsciencemanover 2 years ago
It&#x27;s going to be a tangential comment but I work in science research that&#x27;s adjacent to weather forecasting and I find the political&#x2F;technical jockeying that is happening with forecasting to be fascinating. It&#x27;s a nexus of capitalism, federal government spending, politics, and technology that has very real implications for individual Americans.<p>In summary: horrible oversight by the federal govt (read, congress) of our technical&#x2F;scientific forecasting resources means that our forecasting ability is extremely fragmented and poorly organized. This has lead to a lot of companies being essentially resellers of public data. These companies claim to create a lot of value added products (&#x27;cleaner APIs&#x27;, &#x27;minutecasts&#x27;, etc etc) that are either scientifically dubious or technically simple and then these companies walk away with huge profits based on being a portal to government data.<p>It&#x27;s so American it is almost laughable, all while the European ECMWF eats our lunch in terms of accuracy even for the CONUS. I&#x27;ve discussed this on technical internet forums often enough that I can practically already write the replies to my own comment. &quot;What&#x27;s the problem with that?&quot; etc et al. But the reality of it is that it&#x27;s emblematic of how politically broken the US is, in particular with regards to the agencies in charge of scientific products and funding. Not to mention the concrete problems with the forecast products themselves.<p>Anyway. Good luck pirate weather and godspeed. Information was meant to be free and open, especially the forecast. It&#x27;s such a laughably simple problem that could&#x2F;should be so easily solved but, alas, there is money to be made!
评论 #34330973 未加载
评论 #34333705 未加载
评论 #34330916 未加载
评论 #34331229 未加载
评论 #34330632 未加载
FatActorover 2 years ago
If you asked me 25 years ago, &quot;Wanna bet hackers will be excited about a weather API in the future?&quot; ... Sink me ... I would have lost that bet.
评论 #34335746 未加载
ushakovover 2 years ago
The tech diagram on AWS is insane. This is what I call vendor lock-in porn<p>I&#x27;m wondering how much your monthly bill is?
评论 #34331927 未加载
评论 #34331579 未加载
评论 #34331403 未加载
评论 #34331017 未加载
评论 #34332191 未加载
评论 #34331194 未加载
hectormalotover 2 years ago
I’ve used <a href="https:&#x2F;&#x2F;open-meteo.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;open-meteo.com&#x2F;</a> before and I think it’s the same type of open data being exposed.<p>These types of projects are great for stuff like home automation. I’m using to to improve my predictions for power generation (PV) and consumption (heat pump). Planning to is ergst to optimize home battery charging in the future.<p>(Disclaimer; open sourced a small go library for open meteo, but otherwise not affiliated)
评论 #34332250 未加载
评论 #34436418 未加载
davchanaover 2 years ago
I usually use forecase.weather.gov They provide a nice textual weather page, with English, for next 7 or 8 days [1]. But it is tiring to open 3 or 4 bookmarks, so I thought to consume that as json &amp; make a single page html app with ajax requests. Its still in progress, I spent few minutes yesterday. The surprising thing was (I was ready to fetch the html text &amp; parse it, difficult), I simply changed one parameter to JSON &amp; I got json [2]. I didn&#x27;t find any easy to find documentation about json endpoint. My plan is to have city abbreviations on top in horizontal menu, then each click fetches json, puts it into div below.<p>1. <a href="https:&#x2F;&#x2F;forecast.weather.gov&#x2F;MapClick.php?lat=37.78&amp;lon=-122.42&amp;unit=0&amp;lg=english&amp;FcstType=text&amp;TextType=2" rel="nofollow">https:&#x2F;&#x2F;forecast.weather.gov&#x2F;MapClick.php?lat=37.78&amp;lon=-122...</a><p>2. <a href="https:&#x2F;&#x2F;forecast.weather.gov&#x2F;MapClick.php?lat=37.98&amp;lon=-120.38&amp;unit=0&amp;lg=english&amp;FcstType=json" rel="nofollow">https:&#x2F;&#x2F;forecast.weather.gov&#x2F;MapClick.php?lat=37.98&amp;lon=-120...</a>
评论 #34332167 未加载
ChrisArchitectover 2 years ago
Related discussion about Merry Sky, a Dark Sky replacement built on this<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34155191" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34155191</a>
none_to_remainover 2 years ago
Is there a linguistic shift happening here where this is no longer &quot;a service implementing the same API as Dark Sky&quot;, rather it is &quot;an API&quot;
wendyshuover 2 years ago
<a href="https:&#x2F;&#x2F;pirateweather.net&#x2F;apis" rel="nofollow">https:&#x2F;&#x2F;pirateweather.net&#x2F;apis</a> isn&#x27;t loading for me
评论 #34333774 未加载
评论 #34334450 未加载
pbmangoover 2 years ago
This is great. Can endorse LuckGrib for IoS folks as well. Great UI and can pull NOAA and EU models. <a href="https:&#x2F;&#x2F;luckgrib.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;luckgrib.com&#x2F;</a>. Not FOSS but worth the $20 I paid once several years ago. Popular among wind sports enthusiasts many of who are hobbyist meteorologists.
kish15over 2 years ago
I cannot seem to sign up, it says &quot;Exceeded daily email limit.&quot;
评论 #34338311 未加载
WoodenChairover 2 years ago
Awesome, but it&#x27;s not yet got the text summary feature, which curiously is also missing from Apple&#x27;s official Dark Sky replacement, WeatherKit:<p><a href="https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;weatherkitrestapi" rel="nofollow">https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;weatherkitrestapi</a><p>I created the start of a Python wrapper for WeatherKit, if anyone is interested in helping with that effort:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;davecom&#x2F;PyWeatherKit">https:&#x2F;&#x2F;github.com&#x2F;davecom&#x2F;PyWeatherKit</a>
vorpalhexover 2 years ago
One of Dark Sky&#x27;s features was integrating hyperlocal weather stations.<p>Right now there are thousands of weather stations posting regular reports via APRS.<p>Any chance to see those integrated?
评论 #34334420 未加载
Dentraxover 2 years ago
This is really cool! Can&#x27;t wait to try. But I&#x27;m getting: &quot;Exceeded daily email limit.&quot; during sign-up.
hk1337over 2 years ago
I cannot load the apis page right now. Is this just current weather data or do you offer historical weather data too?
huhtenbergover 2 years ago
Tried it indirectly via MerrySky after it was mentioned here the other day.<p>I am in Europe it was completely off in both its 24-hour forecast and the actual real-time weather. It indicated a continuous heavy snowfall whereby in reality the sky was just lightly clouded with no precipitation. Just 2c.
tucosanover 2 years ago
I applaud the effort. I just checked the forecast data for Berlin, Germany and it is quite inaccurate compared to the quality models offered for my region.<p>It seems that they only use NOAA data even though there are vastly superior models for the EU, e.g. ICON-EU and ECMWF.
heystefanover 2 years ago
This is amazing. You&#x27;re amazing.<p>Just bought you a coffee, everyone who upvoted this should chip in!
评论 #34334410 未加载
metadatover 2 years ago
Is there a decent free weather app for Android or iOS which doesn&#x27;t have ads and &#x2F; or unnecessary tracking?<p>Would be cool if Pirate Weather could serve as the foundation for such a thing.
评论 #34344811 未加载
评论 #34340427 未加载
waynecochranover 2 years ago
I like having an open API. Every weather site eventually becomes trash as it is loaded with obnoxious ads. Maybe the answer it just to have numerous weather front ends.
评论 #34334460 未加载
10g1kover 2 years ago
Why are pirate systems the best? They just AARRRR!
gkobergerover 2 years ago
This is awesome! If you want to use ReadMe for free for your docs, just email me (my email&#x27;s in my profile) and I can hook ya up!
stephen123over 2 years ago
Is it a common startup idea to open source a successful product and change the payment to be donation based?
Semaphorover 2 years ago
&gt; An error was encountered with the requested page.<p>&gt; Exceeded daily email limit.<p>Happens when I try to signup
nimbiusover 2 years ago
what ive always wanted is a competent API for weather.gov, but theres just no impetus to get NOAA to drop their convoluted pseudo-XML gobbledygook.
评论 #34333046 未加载
byhemechiover 2 years ago
appears to pretty much US only, unfortunately. it&#x27;s -5 where i am right now, but this claims that it is actually -17 (a very big difference)
DrBenCarsonover 2 years ago
@OP you&#x27;ve exceeded your daily cognito limit