marians / openweather

Rudimentary python client for OpenWeatherMap.org
9 stars 4 forks source link

Cache to prevent redundant API queries #3

Open marians opened 10 years ago

marians commented 10 years ago

The title says it all

scls19fr commented 9 years ago

Hello,

you might use requests-cache http://requests-cache.readthedocs.org/en/latest/ there is expiration policy for cache several backends are possible: sqlite, mongodb, redis

Kind regards