To obtain the number of active cases, confirmed cases, deaths, and other details of COVID status of the respective state( from India only) obtained as input from the user.
This is a simple code as in where we are to parse the JSON object obtained by making a GET Request to obtain data from the entered destination using the method requests.get().
The API/URL mentioned stores the covid status state-wise of India. The required state whose details are to be viewed is obtained as input from the user and then the JSON object is parsed which is considered as a dictionary in Python and the details of respective state held as key-value pair is then displayed.
Submitted by Abirami Somasundaram (abby711)
Download packets of source code on Coders Packet