ahivert / tgtg-python

Unofficial client for TooGoodToGo API
GNU General Public License v3.0
372 stars 70 forks source link

New "api/manufactureitem/v2" endpoint #308

Open MaxWinterstein opened 1 month ago

MaxWinterstein commented 1 month ago

Recently Too Good To Go added something called "Parcels" - at least in Germay and Austria.

image

Some big german blog e.g. wrote: https://stadt-bremerhaven.de/too-good-to-go-liefert-jetzt-auch-pakete-mit-lebensmitteln/ - you might wanna translate it for yourself

The behavior of the endpoint is kinda new to me, so I powered up some mitm proxy and took a quick ride:

image

As the request format is quite unknown to me, I added the endpoint and request to the client and had a quick playaround:

image

image

image


Not sure how to continue with this. For the moment my implementation works and returns data to play around with.

Might be rel to #297