kacpi2442 / am_bot

Using the toogoodtogo and foodsi APIs to notify me via a Telegram bot for open offers
39 stars 19 forks source link

foodis app shows offers, this bot does not #16

Closed groundnuty closed 1 year ago

groundnuty commented 1 year ago

Hello, I'm trying to catch packages from foodsi - from a very specific restaurant with id and name:

    "1622": "Handelek Rynek Kleparski"
    "1623": "Handelek Rynek Kleparski"

While I do see the offers on my phone from this restaurant I never saw them then using the bot.

The opposite situation is with:

    "1511": "Oliwki etc",

It's always displayed as available in the bot and almost never in the app.

I guess the app might be using some different API now? I'm happy to try to reverse-engineer it (even the login process to get the favourite list), just would welcome some very general guidelines on where to start. Tried to use pocketcapute app today to see what the foodsi app does, but it seems that they are using certificate pinning - so no luck so far.

groundnuty commented 1 year ago

Please ignore that, I was working on an older commit.