Re:Ask HN: Anyone making a living from a paid API?
by alfons_foobar on Saturday May 31, 2025 @11:54AM
(#44145080)
That's a funny idea :)
I think the first one should be very much doable, but I am not sure how I would build the "almost complete" and the "similar colors" features.
Re:Ask HN: Anyone making a living from a paid API?
by yesbabyyes on Saturday May 31, 2025 @01:31PM
(#44145764)
I guess calculating the Levenshtein distance between the sets would work somehow?
Edit: scratch that, just intersect the set of available pieces with each set. If there are fewer than n--or m%--missing pieces, suggest those.
Re:Ask HN: Anyone making a living from a paid API?
by kingbob000 on Saturday May 31, 2025 @12:50PM
(#44145485)
Sounds a lot like rebrickable. I'm not sure if they have an API though
Privately, I would like to use an API, which gets my Lego bricks inventory and returns all sets which I could build. Further it should show me sets, which I almost can build and show me missing pieces. Also e.g. it should show me sets with slight color differences, e.g. I have bricks in yellow but originally it requires orange. Things like that...