more useful options | |
PerlMonks |
Re^5: LWP::UserAgent Alternatives for API databy johnfl68 (Scribe) |
on Jul 07, 2020 at 23:23 UTC ( [id://11119014]=note: print w/replies, xml ) | Need Help?? |
When I started using the NWS API regularly about 2 months ago, the Current Obs were consistently coming back 4 or more hours old. The Current Obs are only supposed to be around an hour old at most. The forecasts at the time were coming back 2-4 hour old, but the NWS says that is about correct for those, as they are not updated as often. I just got back data for one location that is 239 hours old (loads the same old date in web browser matching the server version). Another forecast location has been giving back 503 error since late last night (both browser and server). For the Current Obs, instead of using (Station KMCO as example) There are some differences, but most of the basic information is the same. The XML data has been much more stable than the API versions. Hope that helps.
In Section
Seekers of Perl Wisdom
|
|