Live data from Hacker News

Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

github.com

11–20 of 94 posts

Re: Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

#12
Cool project, but have mixed feelings about publishing ever easier ways to access this API. They've locked down the API a while ago for a reason.

Also there already exists this reverse engineered project: https://github.com/ByteSizedMarius/rewerse-engineering/

I do have a suggestion for your app though: Have it compare your basket of goods across different markets in your region to show you the cheapest option. I'm pretty sure this possibility is actually one of the reasons they locked down the API.

I've used Data from REWE in the past and made a comparison between a couple of cities in Germany (I believe it was Frankfurt, cologne, Berlin, Munich and Hamburg). Hamburg was by far the most expensive, often as much as 10-20% more expensive.

Re: Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

#15
post #7

Really cool to see things still being built in Haskell! How do you find using it compared to some of the newer languages that have more modern tooling? Did you implement your own OAUTH2 flow in haskell for this?

Does Haskell not have modern tooling? What would be considered modern in this context?

Re: Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

#17
post #10

That's funny, I've just built the same thing for Asda in the UK https://github.com/markDunne/asdabot It can search for items, add them to the basket, picks a delivery slot and does the checkout. With a little more scaffolding in markdown files, this now takes care of my weekly shopping.

Even a CLI interface would be better than the sorry excuse of Asda's website. I wonder if entrusting an LLM is worth the trade off with the tedium of online shopping.

Re: Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

#18
post #12

Cool project, but have mixed feelings about publishing ever easier ways to access this API. They've locked down the API a while ago for a reason. Also there already exists this reverse engineered project: https://github.com/ByteSizedMarius/rewerse-engineering/ I do have a suggestion for your app though: Have it compare your basket of goods across different markets in your region to show you the cheapest option. I'm p…

>I do have a suggestion for your app though: Have it compare your basket of goods across different markets in your region to show you the cheapest option.

I'd settle for just being able to sort items by unit price... I'm sure this is a [regulation-]solved problem in Germany though

Re: Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

#20
post #2

Nice! Do you know if the Austrian billa (REWE's subsidiary) is using the same api?

My friend works at Billa AT; I could ask her – but that would be cheating ;-)

What's the point of this comment!
Post reply on HN