FlightAware Discussions

Collecting more than 1 flight with 1 get request

Hey I am able to get 1 flight at a time for flightInfoEX. Is there a way to get an array of flights. Like a through the header? Also, I am not exactly sure sending and receiving the data through inputting the parameters in the url is the best method. I have included my code below.
Thanks

import json, socket, ssl, sys, time, zlib, requests
username = “”
apikey = “”
proxy = {“https”: “”}
#headers = {‘Content-Type’: ‘application/json’,

‘Authorization’: Basic username:apikey}

compression = None # set to “deflate”, “decompress”, or “gzip” to enable compression
api_url_base = “http://:@flightxml.flightaware.com/json/FlightXML2/FlightInfoEx?ident=960”

print(“Connecting…”)
response = requests.get(api_url_base, proxies=proxy)
print(“Connection succeeded”)