Skip to content

Feature request: find/add parts using the octopart api #541

Closed

Description

@Snevzor

Hi,

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.

Activity

  1. SchrodingersGat commented on Sep 17, 2019

    @SchrodingersGat
    Member

    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

  2. Snevzor commented on Sep 19, 2019

    @Snevzor
    Author

    Oh that's a pity. I've briefly searched for some alternative but none seem to live up to what Octopart has to offer.

  3. SchrodingersGat commented on Sep 19, 2019

    @SchrodingersGat
    Member

    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

  4. eeintech commented on Aug 20, 2020

    @eeintech
    Contributor

    @Snevzor I have responded to your other issue: #566
    I definitely think you should have a look at Ki-nTree 😄

  5. SchrodingersGat commented on Aug 20, 2020

    @SchrodingersGat
    Member

    @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 👍

  6. eeintech commented on Aug 21, 2020

    @eeintech
    Contributor

    @SchrodingersGat Nice, thanks! Hopefully it lives up to the hype!

  7. eeintech commented on Sep 7, 2020

    @eeintech
    Contributor

    OP is not active: @SchrodingersGat I think we should close this issue

  8. SchrodingersGat commented on Sep 7, 2020

    @SchrodingersGat
    Member

    I will close it out for now. In the future I'd like to see such integrations, but it needs to be carefully considered.

  9. ndbroadbent commented on Oct 24, 2022

    @ndbroadbent

    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/

  10. orzechow commented on Jun 24, 2024

    @orzechow

    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 😞

    1. 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;
  11. eeintech commented on Jun 25, 2024

    @eeintech
    Contributor

    @orzechow Not surprising, better stick with APIs from the suppliers themselves and avoid data aggregators, even if it's more work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions