Filter output by a specific status value

How can I print only the items in a board with the status marked as “Done” using Python?
Here is my current code->
import requests
import json
import pprint

apiKey = “MyApiKey”
apiUrl = “https://api.monday.com/v2
headers = {“Authorization” : apiKey}

query2 = ‘{boards (ids: 2257165976) { name items { name column_values {title value text} } } }’
data = {‘query’ : query2}

r = requests.post(url=apiUrl, json=data, headers=headers) # make request
pprint.pprint(r.json(), width=400)