Jakub
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Premium support (or lack of)Same, 3 days without response
Forum: Plugins
In reply to: [Corona Virus Data] Wrong Continents dataI using now this function for fetch data by continent name, so dont worry if order change again ??
const continentToAbbr = {"Europe": "eu", "Asia": "as", "North America": "na", "South America": "sa", "Africa": "af", "Australia/Oceania": "oa"}; $.getJSON(urlc, function(data, status) { for (const item of data) { $("#cov-" + continentToAbbr[item["continent"]] + "-cases").append(item["cases"]).digits(); $("#cov-" + continentToAbbr[item["continent"]] + "-recoverd").append(item["recovered"]).digits(); $("#cov-" + continentToAbbr[item["continent"]] + "-dead").append(item["deaths"]).digits(); $("#cov-" + continentToAbbr[item["continent"]] + "-active").append(item["active"]).digits(); $("#cov-" + continentToAbbr[item["continent"]] + "-today-case").append(item["todayCases"]).digits(); $("#cov-" + continentToAbbr[item["continent"]] + "-today-deaths").append(item["todayDeaths"]).digits(); $("#cov-" + continentToAbbr[item["continent"]] + "-critical").append(item["critical"]).digits(); $("#cov-" + continentToAbbr[item["continent"]] + "-tests").append(item["tests"]).digits(); }
Forum: Plugins
In reply to: [Corona Virus Data] Wrong Continents datathought from this url https://corona.lmao.ninja/v2/continents, not possible (i dont know ?? ) fetch data by continens name instead of data[1] etc?
Forum: Plugins
In reply to: [Corona Virus Data] Wrong Continents dataHi, thanks and again new order in API ?? Europe data3 and SA data 2 … not possible fetch data by continent name?
Problem inside function.php, sorry
Viewing 5 replies - 1 through 5 (of 5 total)