Using method GET with python requests

Hi there!
I am trying to get some records from my table using:
requests.get('<url>', headers=<headers_dict>)

It works, but how can I get filtered records like in this example:
{"pet": ["cat", "dog"], "size": ["tiny", "outrageously small"]} ?
How do I pass these parameters?

Thank you!

The explanation is here: REST API reference - Grist Help Center – you have to provide the filters as a JSON-encoded value for the filter query parameter. So with requests, you should be able to do:

filters =  {"pet": ["cat", "dog"], "size": ["tiny", "outrageously small"]}
requests.get('<url>', headers=<headers_dict>,
    params={'filters': json.dumps(filters)})