mattdodge / yahoofantasy

A Python SDK for the Yahoo! Fantasy Sports API
67 stars 19 forks source link

Add cli command to clear cache #39

Closed mattdodge closed 2 years ago

mattdodge commented 2 years ago

The yahoofantasy library maintains its own persisted cache of certain Yahoo! API responses. This cuts down on the number of requests that need to be made and makes future function calls faster. Occasionally you may want to clear this cache but not lose your authentication data. You can do so by running the following CLI command from your yahoofantasy project directory:

yahoofantasy clear-cache