The API endpoint was not correct, it changed a while, so I have corrected this.
Also I have found some numerous bugs and I tried to correct them.
Briefly:
Made the API call asynchronous. The API is rather slow and it causes the whole MagicMirror to freeze when restarting. It is also not really great in general to do HTTP calls on the main thread.
Fixed some of the JSON parsing, because not only the endpoint, the JSON structure is also changed.
Hi!
The API endpoint was not correct, it changed a while, so I have corrected this. Also I have found some numerous bugs and I tried to correct them. Briefly: