Hacker News new | ask | show | jobs
by freeCandy 1529 days ago
What I love about this is the way half loaves are found, simple but really clever.

Search for "bread" with the correct category, and then filter out all results that are greater than 300 grams. It works out because all the artisanal bread are excluded with a regex.

https://github.com/prashantbaid/halfloaf/blob/master/lambda/...

1 comments

Thanks :-D. So we now have an (albeit Lambda) API over an API!! This keeps getting better.

https://brc5og74x0.execute-api.ap-south-1.amazonaws.com/prod...