Hacker News new | ask | show | jobs
by vishnugupta 1529 days ago
This is super awesome; pleasantly surprised to see this is relevant for my home town :-D

Also, funnily this is how they are sourcing the data. Ingenious!!

"The search is only available in select big cities in India because it uses Dunzo as the data source. No affiliation with Dunzo.

The API used to call Dunzo is open but undocumented. So if someone from Dunzo is reading this, don't be sending take-down notices. This is a very niche and tiny thing and is unlikely to put any strain on your servers."

1 comments

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/...

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...