Jul-20-2021, 03:42 PM
Greetings
I am trying to build a web app using Dash. I am trying to analyse F1 data (lap times) using the ergast API . I was previously using the requests module in python to retrieve data in JSON format e.g. https://ergast.com/api/f1/2011/5/drivers...aps/1.json will be the URL for lap 1 for Alonso. This has become time consuming in python, even though I have used multithreading to implement the GET requests.
Instead, I am looking to use the MySQL database images and have an independent server which I can query, instead of performing thousands of GET requests for a single race. Is there any comprehensive way to do this in Python? I am highly confused about this as I am not familiar with MySQL as well. Any help would be appreciated.
Thank you
I am trying to build a web app using Dash. I am trying to analyse F1 data (lap times) using the ergast API . I was previously using the requests module in python to retrieve data in JSON format e.g. https://ergast.com/api/f1/2011/5/drivers...aps/1.json will be the URL for lap 1 for Alonso. This has become time consuming in python, even though I have used multithreading to implement the GET requests.
Instead, I am looking to use the MySQL database images and have an independent server which I can query, instead of performing thousands of GET requests for a single race. Is there any comprehensive way to do this in Python? I am highly confused about this as I am not familiar with MySQL as well. Any help would be appreciated.
Thank you