The nice thing with an API is that you can maybe hit the servers again and re-fetch the data. I had been caching the data locally, to not waste WSDOT's bandwidth or CPU. Maybe I had hit some sort of limit, maybe I downloaded some garbage, maybe I processed something badly, but this is the corrected version of today's creation. The Edmonds/Kingston ferry route were lines 4 and 5, and for some reason, they didn't show up in this morning's data. So I deleted my cached route data, refetched, and redrew.
Musings, ramblings, rantings about technology, games, puzzles, and whatever else catches my attention.
Tuesday, January 12, 2021
Genuary 2021 Day 12 "Use an API" revisited
The nice thing with an API is that you can maybe hit the servers again and re-fetch the data. I had been caching the data locally, to not waste WSDOT's bandwidth or CPU. Maybe I had hit some sort of limit, maybe I downloaded some garbage, maybe I processed something badly, but this is the corrected version of today's creation. The Edmonds/Kingston ferry route were lines 4 and 5, and for some reason, they didn't show up in this morning's data. So I deleted my cached route data, refetched, and redrew.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment