DEV Community

[Comment from a deleted post]
Collapse
 
caioicy profile image
caioicy

I saved the responses locally as a JSON file with the filename being the method I was calling from the API. I had a wrapper method that either requested from the API and cached the result, or retrieved the cached response as can be seen here: github.com/CaioIcy/codeforces-anal...