Read the statement by Michael Teeuw here.
MMM-COVID19
-
Hi Sam,
I just get "{“message”:“Invalid API key. Go to https://docs.rapidapi.com/docs/keys for more info.”}
Sorry, perhaps I missing something here…are you refering this URL
https://coronavirus-monitor-V2.p.rapidapi.com/coronavirus/cases_by_country.php
Thx
-
@dubalda whatever api you use. i always test in a browser first.
u need to add the apikey to the url
i am making it up (not exact text) cause i am on my phone in hospital
url.php&api_key=whatever is the key
-
Sorry to hear you’re in hospital! Hopefully it’s nothing to serious.
I tried…
https://coronavirus-monitor.p.rapidapi.com/coronavirus/united_states_cases.php&api_key=xxx
and received.
{“message”:“Invalid API key. Go to https://docs.rapidapi.com/docs/keys for more info.”}
RapidAPI does see it’s free service. I’ve amened the entries in node_helper.js back to the their defaults but still no joy there. Very strange.
-
@dubalda free and requiring a key are different.
if u require a key you know who consumes your service
i said dont take my words exactly.
what does the service say is the apikey parameter name, exact spelling
this aint magic, its grunt work getting the parms right
i do my.own covid charts MyCovid19, see
https://github.com/sdetweil/MyCovid19
they have changed the data on me 3 times in a year. hard to keep up
-
I’ve tried…
curl -H “x-rapidapi-host: coronavirus-monitor-v2.p.rapidapi.com” -H “x-rapidapi-key: xxx” ‘https://coronavirus-monitor-v2.p.rapidapi.com/coronavirus/cases_by_country.php’
And have copied the key (copy/paste) exactly from the website but get the message…
“message”:“You are not subscribed to this API.”
I think I’ll just get the Covid numbers from the news! Thanks for your help @sdetweil !
-
-
Thanks…I’ll have a look.
-
@sdetweil I think the issue was due to the api having to be paid for. In the end I changed to MMM-COVID19-SPARKLINE which working fine. Thanks for your help!