如何使用 cowin api 获取国家的州?

How to use cowin api to get the states of the country?

我想使用 cowin api 来获取国家/地区的状态。 此处给出了 cowin api 的文档 https://apisetu.gov.in/api/cowin#/

根据网站中提供的文档https://apisetu.gov.in/api/cowin#/

您可以通过调用下面的link

来获取状态JSON

https://cdn-api.co-vin.in/api/v2/admin/location/states