I am trying to list the values of country from the api response. While I tired it is throwing an error as TypeError: list indices must be integers or slices, not str

```
import requests
response = requests.get("https://countriesnow.space/api/v0.1/countries")
json_response = response.json()
# dictionary = json.dumps(response.json(), sort_keys = True, indent = 4)

country_name = json_response['data']['country']

```

I have taken the api endpoint from the browser where i need to list out the country values and check whether the data i extracted as text matches the country values present in the api endpoint.

Can you please let me know where I am using doing the mistake, as i was stuck on this for past wo days.

When I give it as

```
country_name = json_response['data'][0]['country']

```

the first country name is getting printed but i need all the values of country.