params = urllib.parse.urlencode(payload, doseq=True)
sampleRequest = urllib.request.Request('http://example.com/api/add.json?' + params)
response = urllib.request.urlopen(sampleRequest)
Querystring Array Parameters in Python using Requests