Hacker News new | ask | show | jobs
by sleighboy 3175 days ago
The grocery chain I shop at has a component of their loyalty card that lets you add certain coupons to your card and they change constantly. All told there may be a few hundred of items offered up daily, most of which I don't buy anyhow. So instead of wasting my time sifting through them to save $10 a month I just wrote a script to add all of them to my card every day at the same time. So long as I go shopping after that time I may have discounts for items I actually purchase deducted at checkout.
1 comments

Safeway does the whole digital coupon thing. It’s too much of a hassle to be worthwhile but this could help. Not sure it’s worth the effort of writing the script myself though. Do you mind open sourcing it?
https://gist.github.com/danielatdattrixdotcom/bd6a05e3d8c499...

Edit Update: Gist is fixed and working 100%

I wrote a database and interface once that would automatically catalog and run the Safeway Monopoly game, all I had to to was scan in the pieces with an app on my phone. It worked well, but demonstrated just how bad my luck was, after 614 tickets gathered, I won exactly 0 items. :/
Planning on using OpenCV to look for the "rare" items on the next go-round and not have to actually scan over all the game pieces manually. The most I can expect is to have some fun writing the code because I'm quite unlikely to win any cash or prizes.