New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Abstraction of caching code #51
Labels
Comments
I had the same problem, see #61 for my workaround |
redis as caching engine would be nice |
Has there been any update on this so it is possible to use a different matter of saving sessions but file system? |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using spotipy on Heroku as a Slack bot - which works awesomely, but I've had to store the cached token on S3. I've extended SpotifyOAuth and overridden get_cached_token and _save_token_info to do this, but it'd be useful if it was possible to do this without extensio?. This would also allow for storing the token in a DB rather than in a file.
Maybe the simplest approach could be load_cached_token and save_cached_token methods, which can be overridden to cater for different storage approaches?
The text was updated successfully, but these errors were encountered: