Read the statement by Michael Teeuw here.
MMM-COVID19
-
@hweigel OH MY GOODNESS!!! I debugged that thing for HOURS! thank you so much :)
-
Hi Guys, I cannot get this to work - not sure what i am doing wrong…i can only see the header displaying and nothing else… please help! my config looks like this:
{ module: 'MMM-COVID19', position: "bottom_right", config: { header: "COVID-19 Stats", worldStats: true, rapidapiKey: "My Rapidapikey", orderCountriesByName: "false", countries: [ "Austria", "Germany", "Italy" ], updateInterval: 10000000, lastUpdateInfo: "true", headerRowClass: "small", infoRowClass: "medium", } },
Many Thanks in advance
-
@KD please use code block marks , mark the text and hit the </> button
-
@sdetweil Will do thank you - apologies i am new first post actually :)
-
Ok, I pulled the MMM-Covid19 git. I added the module in config.js, and entered my APIkey… However, it only displays the COVID-19 title and no data.
Am I correct in stating that its not working because now rapidapi has made the coronavirus monitor API paid? Because I think I have it all setup correctly, I notice that the API in rapidapi states PAID, and nothing shows… I want Covid data; is there a way, or am I doing something wrong? OR do I just need to pay and then it’ll show up?? -
@KD remove the comma after “medium” and you should be fine.
-
@paulie420 The RapidAPI seems to be working fine. No need to pay. Can you post your config?
-
@mumblebaj Hello, I’ve got the same problem, this is my config.
{
module: “MMM-COVID19”,
position: “lower_third”,
config: {
updateInterval: 300000,
worldStats: true,
delta: true,
headerRowClass: ‘small’,
orderCountriesByName: “false”,
lastUpdateInfo: true,
countries: [ “Argentina”, “USA” ],
headerRowClass: “small”,
infoRowClass: “medium”,
rapidapiKey : “MY KEY”,
}
}, -
@mumblebaj Same problem here. Looks like its paid now. curl shows “You are not subscribed to this API”
-
There are two versions of the api. A paid and a freemium version. The freemium one is the V2!
If you want to use the freemium version you will have to edit the node_helper.js file in the module directory (MMM-COVID19) and change the rapidapihost entry and the GET URL as wellrapidhost
NEW: “x-rapidapi-host”: “coronavirus-monitor-v2.p.rapidapi.com”,
OLD: “x-rapidapi-host”: “coronavirus-monitor.p.rapidapi.com”,GET URL
NEW: ‘https://coronavirus-monitor-V2.p.rapidapi.com/coronavirus/cases_by_country.php’
OLD: ‘https://coronavirus-monitor.p.rapidapi.com/coronavirus/worldstat.php’