Covid-19 Italy

FREE
By paolopitrelli | Updated a month ago | Health and Fitness
Health Check

N/A

README

This API curretly allows the following Endpoints:

1. getAllData

Returns all the available data organizized with the following columns:

index: day number of the table
data: datetime in ISO format
positives: number of current positve cases
daily_positives: new positive cases of the current day
intensive_care: current intensive care patients
hospedalized: current hospitalized patients
intesive_care_percentage: percentage of intensive care patients referred to the positive cases
hospitalized_percentage: percentage of hospitalized patients referred to the positive cases
deaths: total number of deaths
daily_deaths: new deaths of the current day
tests: total number of tests performed
daily_tests: new tests performed on the current day
positives_on_tests_percentage: percentage of positive cases referred to the tests performed

2. getData

This function has three inputs:

  1. columns: basing on the data shown on the previous endpoint this filed must be filled with the desired column or columns (separated by comma) or with the value โ€œallโ€ if the whole number of columns should be called.
  2. start date: the date from which the dataset should start on the format yyyy-mm-dd
  3. end date: the date from which the dataset should end yyyy-mm-dd

Examples:

covid-italy/getData/all/2020-07-15/2020-08-20
covid-italy/getData/data,positives/2020-03-05/2020-05-20
covid-italy/getData/data,positives,positives_on_tests_percentage/2020-07-19/2020-08-31

Followers: 0
API Creator:
P
paolopitrelli
paolopitrelli
Log In to Rate API
Rating: 5 - Votes: 1