💾 Archived View for station.martinrue.com › jsreed5 › a5742498d53f43b594f95ff8eb0b01e8 captured on 2024-06-16 at 13:16:59. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-12)
-=-=-=-=-=-=-
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/
1 year ago · 👍 justyb, martin, tm85
https://www.nco.ncep.noaa.gov/status/messages/
The API is now functioning normally again. · 1 year 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. · 1 year ago
would you mind giving me a run-down on how you got weather on gemini? would greatly appreciate that. · 1 year ago