Technical content… 😍 Nicely done 😎 A few advisories when using any API: * Never use the same Token/Secret across services. You should set up a new Token/Service for each service so that you can remove that access if required. * Always cache the response from the API. This will stop you making needless duplicate requests against the API. - Very important when playing around! * Remember that most APIs have a Hard Limit. If you run a syncing service (Brick Freedom, BrickSync and BrickPacker), be careful using the API as you can actually stop your syncing service from working. Bricklink API SOFT limit is 5,000 a day.
this is an absolute gem. I've wanted to access the api since 2011 but never knew how. This is an extremely good tutorial video, it was very well paced and easy to type along to. I now know the basics for compiling the data i want from the api. Many, many thanks. Have you done any similar videos?
I loved this video. I am new to Bricklink and also the API. It doesn't seem to have a way to pull your wanted list. I'd like to build a "smart" ordering process via that. Any ideas would be appreciated.
Great stuff! Never understood any of these lines of code for API calls (especially OAuth). Your video was very clear to understand and it's the first time I could make an API call to BrickLink myself. The only issue I had was converting the parsed data with a ";" delimiter instead of a "," for usage in The Netherlands. But eventually figured it out after a few hours (Jeej!). Now I can go and play around with it and hopefully get more insight into my best selling items, by trying to import order details into a database. And who knows a lot more in the future too! Thanks a lot!
Excellent intro! I appreciate the detail & you covered exactly what the title promised. This is very useful! I disagree with most of what Rain said, but I _do_ agree that it could be clearer if it started with an outline of the major steps and , even better, a list of timestamps in the description of when each of those steps begins. Thanks for the reference!
Good step by step video on a complex subject. I don't know node.js but am trying this in php. Has anyone got this working, do you need to setup a SSL certificate with a domain?
Hi James, Unfortunately through the BrickLink API and its limitations, there is no way to get a list of all parts and their colors. What you would have to do is download the BrickLink catalog from BrickLink into an XML format, then import that into a database and have a software programmatically get the information from BrickLink through the API for each part ID. This obviously is a lot of calls and cannot be done quickly considering BrickLink's API limit of 5000 calls per 24 hour period. I do believe ReBrickable has some options, however we have not explored using that since we do not really use the BrickLink API. This was more just an intro video into the start.
@@JustABrickInTheBucket Thanks for the reply. yeah unfortunately it seems getting a list of parts will be pretty tough. I am having a hard time stomaching buying lego at $5-$10 per pound then having to clean, sort, list all for a minimal increase... any suggestions?
@@JamesOliverLindsey We recommend using BrickStore, a software that does have that information. It is just not in an extractable format. The software itself is open source but the database is not. Brickstore has a searchable interface, known color lists, etc. It allows you to add multiple parts simultaneously into a .bsx, which can then be uploaded to BrickLink. It also recently added support for Brickocgnize which is an image recognition AI. It can determine piece type and ID with a high degree of accuracy.
Glad you enjoyed it! Hopefully it was helpful in introducing API to those who are new. I plan on getting into more advanced stuff in the future. This was just a really complicated way to download your inventory. Thanks for watching!
I am sorry, I have to admit, I am clicking out already, under 5 minutes in. I will dive into more later if and when I have to. STILL, I am thankful that you have done this, and maybe it will be useful to me in the future.
Added to my "LEGO & Software" playlist, solid introduction. I'm here to get a grasp on the possibility of using the Bricklink API to generate a price tracker by pulling item prices on a recurring basis for a given list of parts. As an example, I would define the top 100 plates based on some MOC data from Rebrickable, then use that list of parts to set the scope of what prices to pull with the Bricklink API. What I don't have a firm grasp on yet is the limitations of the API and what you are allowed to access from a user perspective. Would I be able to collect the prices that are used to generate the 6 month sales records that can be found on Bricklink? This would be my approach to develop an "index" of price info for different categories of parts; so far this looks like the most promising route. This is just a concept phase at the moment, haven't written a single line of code but I really appreciate the introduction to working with the Bricklink API. Any suggestions/discussion welcome
Technical content… 😍 Nicely done 😎
A few advisories when using any API:
* Never use the same Token/Secret across services. You should set up a new Token/Service for each service so that you can remove that access if required.
* Always cache the response from the API. This will stop you making needless duplicate requests against the API. - Very important when playing around!
* Remember that most APIs have a Hard Limit. If you run a syncing service (Brick Freedom, BrickSync and BrickPacker), be careful using the API as you can actually stop your syncing service from working. Bricklink API SOFT limit is 5,000 a day.
Great video!! Not only helped me to connect the API, also an intro to node js. Thank you so much!
Happy that it helped! Thanks for watching Daniel!
Great Video. Excellent! Just what I was looking for. When is episode 2 coming? For example, how to download the average prices of a parts list?
this is an absolute gem. I've wanted to access the api since 2011 but never knew how. This is an extremely good tutorial video, it was very well paced and easy to type along to. I now know the basics for compiling the data i want from the api. Many, many thanks. Have you done any similar videos?
I loved this video. I am new to Bricklink and also the API. It doesn't seem to have a way to pull your wanted list. I'd like to build a "smart" ordering process via that. Any ideas would be appreciated.
Great stuff! Never understood any of these lines of code for API calls (especially OAuth). Your video was very clear to understand and it's the first time I could make an API call to BrickLink myself.
The only issue I had was converting the parsed data with a ";" delimiter instead of a "," for usage in The Netherlands. But eventually figured it out after a few hours (Jeej!).
Now I can go and play around with it and hopefully get more insight into my best selling items, by trying to import order details into a database. And who knows a lot more in the future too! Thanks a lot!
Sweet! I wonder if using the API we can take a step further and browser any other inventory I mean not only ours, is this possible?
Awesome work. This is useful for so many things. I came for bricklink but learned so much about coding. THANK YOU!
Please make more videos for the BRICKLINK API.
Excellent intro! I appreciate the detail & you covered exactly what the title promised. This is very useful!
I disagree with most of what Rain said, but I _do_ agree that it could be clearer if it started with an outline of the major steps and , even better, a list of timestamps in the description of when each of those steps begins.
Thanks for the reference!
soooo good video!!!
Thank you!!! This got me started
This was 100% very helpful! Thank you!!!
Good step by step video on a complex subject. I don't know node.js but am trying this in php. Has anyone got this working, do you need to setup a SSL certificate with a domain?
can you say me please witch cred manager you are install, and how i can use it to save my keys?
Is it possible to query the item image via their API?
How would calls work with the PUT method as in
PUT /inventories/{inventory_id}
that require data in the body?
Thanks Homey!!
do you have suggestion on how to get a list of all parts? and their available colors?
Hi James,
Unfortunately through the BrickLink API and its limitations, there is no way to get a list of all parts and their colors. What you would have to do is download the BrickLink catalog from BrickLink into an XML format, then import that into a database and have a software programmatically get the information from BrickLink through the API for each part ID. This obviously is a lot of calls and cannot be done quickly considering BrickLink's API limit of 5000 calls per 24 hour period. I do believe ReBrickable has some options, however we have not explored using that since we do not really use the BrickLink API. This was more just an intro video into the start.
@@JustABrickInTheBucket Thanks for the reply. yeah unfortunately it seems getting a list of parts will be pretty tough.
I am having a hard time stomaching buying lego at $5-$10 per pound then having to clean, sort, list all for a minimal increase... any suggestions?
@@JamesOliverLindsey We recommend using BrickStore, a software that does have that information. It is just not in an extractable format. The software itself is open source but the database is not. Brickstore has a searchable interface, known color lists, etc. It allows you to add multiple parts simultaneously into a .bsx, which can then be uploaded to BrickLink. It also recently added support for Brickocgnize which is an image recognition AI. It can determine piece type and ID with a high degree of accuracy.
Well done Kyle! Thank you.
Glad you enjoyed it! Hopefully it was helpful in introducing API to those who are new. I plan on getting into more advanced stuff in the future. This was just a really complicated way to download your inventory. Thanks for watching!
I am sorry, I have to admit, I am clicking out already, under 5 minutes in. I will dive into more later if and when I have to. STILL, I am thankful that you have done this, and maybe it will be useful to me in the future.
I understand. This is definitely aimed at a small audience of just a select few people. Thanks for giving it a try! lol.
I know this video is really old, but I followed these instructions and I am getting "SIGNATURE_INVALID: Invalid Signature".
Added to my "LEGO & Software" playlist, solid introduction.
I'm here to get a grasp on the possibility of using the Bricklink API to generate a price tracker by pulling item prices on a recurring basis for a given list of parts. As an example, I would define the top 100 plates based on some MOC data from Rebrickable, then use that list of parts to set the scope of what prices to pull with the Bricklink API.
What I don't have a firm grasp on yet is the limitations of the API and what you are allowed to access from a user perspective. Would I be able to collect the prices that are used to generate the 6 month sales records that can be found on Bricklink? This would be my approach to develop an "index" of price info for different categories of parts; so far this looks like the most promising route. This is just a concept phase at the moment, haven't written a single line of code but I really appreciate the introduction to working with the Bricklink API.
Any suggestions/discussion welcome
how do you do the oauth.oauth in python?
I recommend you use a python library like outh2lib or some other handler rather than trying to manually sign it.
eww js! Love the videos keep it up
Episode 1 and nothing more?!