from collections import OrderedDict
from urllib.parse import urlencode
import requests
params = OrderedDict([('first', 1), ('second', 2), ('third', 3)])
requests.get('https://example.org/private_api', params=urlencode(params))
python-requests: order get parameters