Caching Your API Requests (JSON) In Python Is A Major Optimization

preview_player
Показать описание
Today we will be looking at how we can cache our JSON data from our API requests to optimize our code. It's much faster to load local data rather than making a request every single time. Especially if you don't need the API to refresh the data frequently.
Рекомендации по теме
Комментарии
Автор

Hey there, this video helped me a lot today. Thanks! :)

julianunes
Автор

Wow, I wish I knew this some time ago. Cool!

ricgondo
Автор

what data wouldnt change from json exactly? maybe like news articles? or something that never gets updated? any other examples? movie names?

starogre
Автор

Hi this tutorial really help, but can we set the cache to be expired after 30minutes or an hours?

borutouzumaki
Автор

have yiu tried pythons requests_cache? it's very robust

SideDieTriva
Автор

Any automation bootcamp/course coming up?

disrael
Автор

The structure of your code could be improved, it doesn't read well

xukvrct