dancarmoz / israel_moh_covid_dashboard_data

Data pulled from the Israeli Minsitry of Health's COVID-19 dashboard's API.
17 stars 12 forks source link

Error on fetching API #16

Open kohenm63 opened 3 years ago

kohenm63 commented 3 years ago

Hi! I would love to know how do you fetch this api: since what I'm seeing is { "statusCode": 500, "message": "Internal server error" }

Please share an API docs if you can of course :) Tnx

dancarmoz commented 2 years ago

Hmm, how strange. I fetch it by running the python script in the main folder, specifically using the function get_api_data , I'm not sure I can document it much better than just the (very short) script. Every once in a while I get errors instead of results, but usually it works fine. My python version is 2.7, which version of python are you running? (Assuming of course you are running python - I may not be of much help otherwise...)

kohenm63 commented 2 years ago

I do run Python I receive an error .... Unauthorised.... how do I get API key>>>