How to extract data of specific district (e.g. Nicobars, North and Middle Andaman...) from https://api.covid19india.org/state_district_wise.json I need to extract Active just by searching for the district name. Right now I'm extracting it this way:
url='https://api.covid19india.org/state_district_wise.json'
r = urllib.request.urlopen(url)
data = r.read().decode()
js=json.loads(data)
print('Confirmed cases:', js[State_name]['districtData']["District_name"]['confirmed'])
I don't want to specify state name every time.