I want to print out some values from my json file and here is part of the code:
{
   "records" : [
      {
         "dateRep" : "02/05/2021",
         "day" : "02",
         "month" : "05",
         "year" : "2021",
         "cases" : 1655,
         "deaths" : 16,
         "countriesAndTerritories" : "Austria",
         "geoId" : "AT",
         "countryterritoryCode" : "AUT",
         "popData2020" : "8901064",
         "continentExp" : "Europe"
      },
How can i print dateRep ,cases, deaths or any value i want and put it in a variable to use it? I am using this code to load my json file:
f = open('DailyUpdatedReport.json',)
data = json.load(f)
print(data)
My other issue : My json file need to be up-to dated I don't know how to do it. Here is URL for the json file I am using
https://opendata.ecdc.europa.eu/covid19/nationalcasedeath_eueea_daily_ei/json/
 
     
    