Unable to search Bricklink for parts
wrtyler opened this issue · 2 comments
wrtyler commented
If you do a search !bl (part #) what your code does is execute this command: https://www.bricklink.com/v2/catalog/catalogitem.page?S= which is the command to search for a set you need https://www.bricklink.com/v2/catalog/catalogitem.page?P= for parts searching on Bricklink.
ThibautPlg commented
Hello,
Indeed, the command !bl
aims to return the direct Bricklink URL regarding a set, not a part. If you want a Bricklink link concerning a part, you should use the !part
command and click the link in the "Shop" section.
wrtyler commented
Thank you for providing working approach for getting part information from Bricklink. It still would be nice to have a !blpart and a !blset inquiry. Either way, your LegoBot is immensely helpful. And thank you for closing the issue.
… On Apr 28, 2021, at 03:51, ThibautPlg ***@***.***> wrote:
Closed #5.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.