marklagendijk / node-toogoodtogo-watcher

Node.js cli tool for monitoring your favorite TooGoodToGo businesses. Docker image available.
MIT License
363 stars 116 forks source link

Make Geo Coordinates for TGTG API request configurable #219

Closed N-Coder closed 9 months ago

N-Coder commented 1 year ago

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.

marklagendijk commented 9 months ago

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.