Open petterl opened 7 years ago
I really think this is far more trouble than it's worth. If you just check the beers in as you drink them you will not hit the ratelimit. While in theory a queue can work, you would probably have to use a ServiceWorker to do it properly - after you get rate limited, the user is not going to sit there with their browser open for an hour. So you'd have to wait until the next time they open the page. This is messy, imo.
Well one way is just have the possibilty to commit "all rated beers" to untappd. If it fails with ratelimiter it should just stop. The user can click again in an hour if they want to.
Make it possible to transfer more than one beer to untappd, like a send queue or similar (to handle the ratelimit of 100/hour)