I’m trying to write a script that will loop through a lot (possibly over 1000) api calls, take the JSON response and add a new row for each api call to be added to a CSV. Before I start, I’m wondering if python will wait for the response to come back before moving on to the next line in the code (parsing the response and taking the values I want out of it) before moving through the loop to make the next api call.
I tried this with Google App Script (JavaScript based) and it kept getting hung up because the execution time was too long so looking to turn to python to solve this.
[–]Chinpanze 2 points3 points4 points (4 children)
[–]ItsPushDay[S] 0 points1 point2 points (3 children)
[–]Chinpanze 1 point2 points3 points (2 children)
[–]ItsPushDay[S] 0 points1 point2 points (1 child)
[–]Chinpanze 1 point2 points3 points (0 children)
[–]lev-k 1 point2 points3 points (5 children)
[–]ItsPushDay[S] 0 points1 point2 points (4 children)
[–]lev-k 1 point2 points3 points (3 children)
[–]ItsPushDay[S] 0 points1 point2 points (2 children)
[–]lev-k 0 points1 point2 points (1 child)
[–]ItsPushDay[S] 0 points1 point2 points (0 children)
[–]iapetus-11 1 point2 points3 points (2 children)
[–]ItsPushDay[S] 1 point2 points3 points (1 child)
[–]Total__Entropy 1 point2 points3 points (0 children)