💾 Archived View for station.martinrue.com › jsreed5 › a5742498d53f43b594f95ff8eb0b01e8 captured on 2023-11-14 at 09:53:06. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-11-04)
-=-=-=-=-=-=-
The weather CGI on my capsule is unable to retreive forecasts right now, due to issues in the National Weather Service's API. I'm not sure when this will be fixed. I apologize for the inconvenience! (edited to share correct link) https://www.nco.ncep.noaa.gov/status/messages/
10 months ago · 👍 justyb, martin, tm85
[1] https://www.nco.ncep.noaa.gov/status/messages/
The API is now functioning normally again. · 10 months ago
@aspect The National Weather Service API requires an office and a set of gridpoints (based on lat/long) to return a forecast. To avoid querying for that information every time, I compiled an offline database of US ZIP codes and their corresponding offices and gridpoints. From there script just sends a query to the API and parses the returned JSON, formatting it into gemtext. · 10 months ago
would you mind giving me a run-down on how you got weather on gemini? would greatly appreciate that. · 10 months ago