action covid19_api_get_latest_country_data_by_code { label: "getLatestCountryDataByCode" description: "Get latest data for specific country. Country code and format are in parametars. Country code is in ISO 3166-1 standard. It can be 2 chars (Alpha-2) or 3 chars (Alpha-3) type." provider: covid19_api method: GET path: "/country/code" encoding: json input: { type: "object" properties: { code: { type: "string" } format: { type: "string" enum: ["json", "xml"] } } required: ["code"] additionalProperties: false } output: { type: "array" items: { type: "object" properties: { confirmed: { type: "integer" } country: { type: "string" } critical: { type: "integer" } deaths: { type: "integer" } lastChange: { type: "string" format: "date-time" } lastUpdate: { type: "string" format: "date-time" } latitude: { type: "number" format: "float" } longitude: { type: "number" format: "float" } recovered: { type: "integer" } } } } }