It seemed that I was getting empty responses from the TGTG API, but changing the coordinates to my actual ones helped, so here's the code for respecting this optional configuration. Also harmonizes some missing quotes and adds an option for debugging the TGTG API responses.
I have not seen any evidence that this makes any difference.
It is a conscious decision to not have these configurable: if TGTG wants it makes it easy to block this application.
It seemed that I was getting empty responses from the TGTG API, but changing the coordinates to my actual ones helped, so here's the code for respecting this optional configuration. Also harmonizes some missing quotes and adds an option for debugging the TGTG API responses.