Covid-19-API icon indicating copy to clipboard operation
Covid-19-API copied to clipboard

/vaccines api returns unexpected response

Open akshay-panchakshari opened this issue 1 year ago • 2 comments

Please check below request details

GET https://covid-api.mmediagroup.fr/v1/vaccines?country=France

Expected Response as per documentation:

{
  "All": {
    "administered": 7927771,
    "people_vaccinated": 2297100,
    "people_partially_vaccinated": 5630671,
    "country": "France",
    "population": 64979548,
    "sq_km_area": 551500,
    "life_expectancy": "78.8",
    "elevation_in_meters": 375,
    "continent": "Europe",
    "abbreviation": "FR",
    "location": "Western Europe",
    "iso": 250,
    "capital_city": "Paris",
    "lat": "46.2276",
    "long": "2.2137",
    "updated": "2020/12/26 12:21:56+00"
  }
}

Actual Response received -

{
    "Global": {
        "All": {
            "population": 7444509223,
            "administered": 0,
            "people_vaccinated": 0,
            "people_partially_vaccinated": 0
        }
    }
}

image

akshay-panchakshari avatar Oct 06 '22 11:10 akshay-panchakshari

I have the same problem

Rom3ik avatar Oct 06 '22 17:10 Rom3ik

Unfortunately I don't have the time to look at this right now - if you find the solution feel free to open a merge request :)

mwargan avatar Oct 07 '22 10:10 mwargan