fluves / pywaterinfo

Python package to download time series data from waterinfo.be
https://fluves.github.io/pywaterinfo/
MIT License
17 stars 9 forks source link

Add caching support of requests #25

Closed stijnvanhoey closed 3 years ago

stijnvanhoey commented 3 years ago

Add the integration with the requests-cache package to provide caching on the request level, see #24. Hence, identical requests are retrieved from cache.

Some assumptions were made to have a first version:

@Sachagobeyn and @nielsdevleeschouwer can you have a check if this suffice for your usage?

nielsdevleeschouwer commented 3 years ago

Useful addition, seems to work fine.