Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not getting any data #40

Closed
stsanford opened this issue Apr 14, 2020 · 2 comments
Closed

Not getting any data #40

stsanford opened this issue Apr 14, 2020 · 2 comments

Comments

@stsanford
Copy link

I'm unsure of "You should first create an account on https://rapidapi.com/ and then go to https://rapidapi.com/astsiatsko/api/coronavirus-monitor, and use cases_by_country and worldstat endpoints" I did go and got an API key and added it, but I couldn't add cases_by_country AND worldstat that I can see to a single request. Sorry if I'm missing something...

Additionally, my config entry is:
{
module: "MMM-COVID19",
config: {
position: "top_left",
header: "COVID-19 Tracker",
countries: ["USA"],
worldStats: "true",
lastUpdateInfo: "true",
delta: "true",
highlightCountry: "USA",
headerRowClass: "small",
infoRowClass: "small",
updateInterval: "1500000",
rapidapiKey: "37d6fa675ab4107...............CHANGED_FOR_POST"
}
},

@bibaldo
Copy link
Owner

bibaldo commented Apr 15, 2020

Hi @stsanford , first of all, try to put position: "top_left" outside the module config. And let me know if that worked well.

It should be like this:

{
module: "MMM-COVID19",
position: "top_left",
config: {
  header: "COVID-19 Tracker",
....

@stsanford
Copy link
Author

Thank you, that looks to have done it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants