This script can be used with the Scriptable App. If you create a widget from tihs script, it shows you the number of cases on your homescreen.
This scripts was inspired by planecore/Coronavirus.js
To adapt the script to your region you can check the API documentation here.