pokebase icon indicating copy to clipboard operation
pokebase copied to clipboard

Do I have to manually cache data?

Open KiwiFlavoredApollo opened this issue 1 year ago • 0 comments

Hello, I have a question about caching data. I wonder if I have to manually call pokebase.cache.save() to save cache.

When sending pokebase.pokemon("charmander") multiple times to Python console, it seems to be requesting data from the server even after the first request.

*I haven't confirmed precisely whether the api call actually tries to retrieve data from the server. I am just guessing since I have to wait couple of seconds before pokebase.pokemon() returns console prompt

KiwiFlavoredApollo avatar Apr 18 '24 07:04 KiwiFlavoredApollo