Functions ========================================= A List of Classes ----------------- .. code-block:: :linenos: Country() * Parameter: country (str) - The name of the country .. code-block:: :linenos: World() * Parameter: None class: Country() ----------------- .. code-block:: :linenos: last_updated() - Parameters: None - Returns: The time when the API was last updated .. code-block:: :linenos: flag() - Parameters: None - Returns: (str) The flag of the specified country .. code-block:: :linenos: population() - Parameters: None - Returns: (int) Number of the residents in the specified country .. code-block:: :linenos: continent() - Parameters: None - Returns: (str) The continent of the specified country .. code-block:: :linenos: total_cases() - Parameters: None - Returns: (int) Number of the total cases in the specified country .. code-block:: :linenos: today_cases() - Parameters: None - Returns: (int) Number of the total cases today in the specified country .. code-block:: :linenos: total_deaths() - Parameters: None - Returns: (int) Number of the total deaths in the specified country .. code-block:: :linenos: today_deaths() - Parameters: None - Returns: (int) Number of the total deaths today in the specified country .. code-block:: :linenos: recovered() - Parameters: None - Returns: (int) Number of the total recovered people in the specified country .. code-block:: :linenos: today_recovered() - Parameters: None - Returns: (int) Number of the total recovered people today in the specified country .. code-block:: :linenos: active() - Parameters: None - Returns: (int) Number of the active cases in the specified country .. code-block:: :linenos: critical() - Parameters: None - Returns: (int) Number of the critical cases in the specified country .. code-block:: :linenos: cases_per_one_million() - Parameters: None - Returns: Number of the cases per one million in the specified country .. code-block:: :linenos: deaths_per_one_million() - Parameters: None - Returns: (int) Number of the deaths per one million in the specified country .. code-block:: :linenos: total_tests() - Parameters: None - Returns: (int) Number of the total tests in the specified country .. code-block:: :linenos: tests_per_one_million() - Parameters: None - Returns: (int) Number of the tests per one million in the specified country .. code-block:: :linenos: one_case_per_people() - Parameters: None - Returns: (int) Number of the cases per one people in the specified country .. code-block:: :linenos: one_death_per_people() - Parameters: None - Returns: (int) Number of the deaths per one people in the specified country .. code-block:: :linenos: one_test_per_people() - Parameters: None - Returns: (int) Number of the tests per one people in the specified country .. code-block:: :linenos: get_all() - Parameters: None - Returns: (str) Returns the full data in JSON format class: World() ----------------- .. code-block:: :linenos: last_updated() - Parameters: None - Returns: (int) The time when the API was last updated .. code-block:: :linenos: total_cases() - Parameters: None - Returns: Number of the total cases worldwide .. code-block:: :linenos: today_cases() - Parameters: None - Returns: (int) Number of the total cases today worldwide .. code-block:: :linenos: total_deaths() - Parameters: None - Returns: (int) Number of the total deaths worldwide .. code-block:: :linenos: today_deaths() - Parameters: None - Returns: (int) Number of the total deaths today worldwide .. code-block:: :linenos: recovered() - Parameters: None - Returns: (int) Number of the total recovered people worldwide .. code-block:: :linenos: today_recovered() - Parameters: None - Returns: (int) Number of the total recovered people today worldwide .. code-block:: :linenos: active_cases() - Parameters: None - Returns: (int) Number of the active cases worldwide .. code-block:: :linenos: critical_cases() - Parameters: None - Returns: (int) Number of the critical cases worldwide .. code-block:: :linenos: cases_per_one_million() - Parameters: None - Returns: (int) Number of the cases per one million worldwide .. code-block:: :linenos: deaths_per_one_million() - Parameters: None - Returns: (int) Number of the deaths per one million worldwide .. code-block:: :linenos: total_tests() - Parameters: None - Returns: (int) Number of the total tests worldwide .. code-block:: :linenos: population() - Parameters: None - Returns: (int) Number of the people in the world .. code-block:: :linenos: affected_countries() - Parameters: None - Returns: (int) Number of the people in the world .. code-block:: :linenos: tests_per_one_million() - Parameters: None - Returns: (int) Number of the tests per one million worldwide .. code-block:: :linenos: one_case_per_people() - Parameters: None - Returns: (int) Number of cases per one person .. code-block:: :linenos: one_death_per_people() - Parameters: None - Returns: (int) Number of deaths per one person .. code-block:: :linenos: one_test_per_people() - Parameters: None - Returns: (int) Number of tests per one person .. code-block:: :linenos: active_per_million() - Parameters: None - Returns: (int) Number of active cases per one million people .. code-block:: :linenos: recovered_per_million() - Parameters: None - Returns: (int) Number of recovered cases per one million people .. code-block:: :linenos: critical_per_million() - Parameters: None - Returns: (int) Number of critical cases per one million people .. code-block:: :linenos: get_all() - Parameters: None - Returns: (str) Returns the full data in JSON format