You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: find/add parts using the octopart api #541
I found this neat project on the Kicad forum and tried it instantly.
What holds me back from using it in a medium sized company is the part entry stuff.
It is a lot of manual work (even with the batch import/edit) and errors can be made. Also the price information can be old.
Octopart has a nice API: https://octopart.com/api/home
Adding a part would be much easier as all the information (including prices from multiple distributors, a picture and possibly Kicad library parts) can be fetched automatically. I'm starting to dream now but perhaps email notifications can be sent when stocks at distributors get low for instance.
Hey @Snevzor it's a great idea, but unfortunately the Octopart API terms of service do not allow caching of any downloaded data (i.e. you cannot store it in a database). I have actually reached out to the Octopart support and specifically asked about this.
I would love to know how to support this but not violate their TOS
I think that the individual supplier APIs are worth looking at (e.g. Digikey / Mouser / etc) but this obviously would require a lot more work, and a careful analysis of the TOS of each API
Reacted by Sven Depoorter, Max Holliday and Nathan Broadbent
I came across this issue and realized that Octopart (and it's API) now belongs to Altium and is running as Nexar API.
Unfortunately, the Terms of Use are still not allowing this use case 😞
License Grant.
[...]
1.2. Restrictions.
[...] you shall not, and shall not permit others, including your Authorized Users to [...]
(v) self-host any content including but not limited to datasheets and images;
(vi) use the Nexar API to cache and/or store data for more than twenty-four (24) hours;
Activity
SchrodingersGat commentedon Sep 17, 2019
Hey @Snevzor it's a great idea, but unfortunately the Octopart API terms of service do not allow caching of any downloaded data (i.e. you cannot store it in a database). I have actually reached out to the Octopart support and specifically asked about this.
I would love to know how to support this but not violate their TOS
Snevzor commentedon Sep 19, 2019
Oh that's a pity. I've briefly searched for some alternative but none seem to live up to what Octopart has to offer.
SchrodingersGat commentedon Sep 19, 2019
I think that the individual supplier APIs are worth looking at (e.g. Digikey / Mouser / etc) but this obviously would require a lot more work, and a careful analysis of the TOS of each API
eeintech commentedon Aug 20, 2020
@Snevzor I have responded to your other issue: #566
I definitely think you should have a look at Ki-nTree 😄
SchrodingersGat commentedon Aug 20, 2020
@eeintech I've added Ki-nTree to the list of third-party InvenTree integrations - https://inventree.github.io/docs/extend/integrate
Congrats, you've single-handedly doubled the length of the list 👍
eeintech commentedon Aug 21, 2020
@SchrodingersGat Nice, thanks! Hopefully it lives up to the hype!
eeintech commentedon Sep 7, 2020
OP is not active: @SchrodingersGat I think we should close this issue
SchrodingersGat commentedon Sep 7, 2020
I will close it out for now. In the future I'd like to see such integrations, but it needs to be carefully considered.
ndbroadbent commentedon Oct 24, 2022
If anyone else finds this comment - #541 (comment)
Here's the new link for the third-party InvenTree integrations page in the docs: https://inventree.readthedocs.io/en/latest/extend/integrate/
orzechow commentedon Jun 24, 2024
I came across this issue and realized that Octopart (and it's API) now belongs to Altium and is running as Nexar API.
Unfortunately, the Terms of Use are still not allowing this use case 😞
eeintech commentedon Jun 25, 2024
@orzechow Not surprising, better stick with APIs from the suppliers themselves and avoid data aggregators, even if it's more work.