I have a website that shows me something from Google (just playing mostly).
I use python-flaskfor my site, it manages the REST API calls and returns them. Subsequently, I “print” the information on my website using javascript.
Now, in mine js, I call my own site every 5 seconds, so a new REST API call is launched in python to update my data. Is there a better approach? I still want to use the REST API.
source
share