I have to send a couple of thousand get requests for the same url. It's quite long when I do that by using for loop, so I looking a better/faster/ ̶s̶t̶r̶o̶n̶g̶e̶r̶- solution. Do you have any ideas?
url = 'https://site.ru:port/api/v2/getRequest'
for index, row in tqdm.tqdm(data.iterrows(), total=data.shape[0]):
params = {
'param1_key' : row['param1_value'],
'param2_key' : row['param2_value'}
response = requests.get(api_endpoint, params, headers={'apikey': api_key}, timeout=30)