We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello @andreztz,
I noticed you are using python-requests.
Adding a cache mechanism (to avoid too much requests to radio-browser API) can be done quite easily using requests-cache
See how it's being used in https://pandas-datareader.readthedocs.io/en/latest/cache.html passing session=None by default or passing session=requests_cache.CachedSession(...)
session=None
session=requests_cache.CachedSession(...)
See also https://github.com/pydata/pandas-datareader/blob/adb67b2e959f2060a9db18f8b343d06e917f23da/pandas_datareader/_utils.py#L56-L60
Kind regards
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Hello @andreztz,
I noticed you are using python-requests.
Adding a cache mechanism (to avoid too much requests to radio-browser API) can be done quite easily using requests-cache
See how it's being used in https://pandas-datareader.readthedocs.io/en/latest/cache.html passing
session=None
by default or passingsession=requests_cache.CachedSession(...)
See also
https://github.com/pydata/pandas-datareader/blob/adb67b2e959f2060a9db18f8b343d06e917f23da/pandas_datareader/_utils.py#L56-L60
Kind regards
The text was updated successfully, but these errors were encountered: