This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-green; icon-glyph: user-md; | |
// change "country" to a value from https://coronavirus-19-api.herokuapp.com/countries/ | |
const url = `https://api.covid19tracker.ca/summary/split` | |
const req = new Request(url) | |
const res = await req.loadJSON() | |
const url2 = `https://api.covid19tracker.ca/summary` | |
const req2 = new Request(url2) |