0.7.0
Moved all endpoints to v2, and changed more methods.
All methods involving getting yesterday's data and sorted data have been removed and replaced with kwargs in existing methods.
get_sorted_data()
-> get_all_countries(sort='mode')
yesterday_all()
-> all(yesterday=True)
yesterday_country(country)
-> get_country_data(country, yesterday=True)
Supports yesterday
kwarg only:
all(yesterday=True)
get_country_data(country, yesterday=True)
get_single_state(state, yesterday=True)
get_single_continent(continent, yesterday=True)
Supports both yesterday
and sort
kwargs:
get_all_countries(yesterday=True, sort='mode')
get_all_states(yesterday=True, sort='mode')
get_all_continents(yesterday=True, sort='mode')
New methods
get_all_continents(yesterday=True, sort='mode')
- Get the stats for all continents. ReturnsList[ContinentStatistics]
get_single_continent(continent, yesterday=True)
- Get the stats for a single continent. Returns a singleContinentStatistics