Skip to content

Feature request: SnapEDA api #566

Closed
Closed

Description

@Snevzor

Related to #541, where we briefly discussed the Octopart API.

There are 2 issues where I work. When adding a new component to the design we need to check and make sure:

  • We have the cad libs
  • We have it in stock and if not we have to buy it

It happens a lot that these actions are not executed together and most likely you will be looking for the same part for different reasons on different occasions. What a waste of time?

What about SnapEDA api (or others)? This would make it easier to add a component but at the same sime Kicad or Eagle libs could be downloaded whilst adding the part. This would solve the 2 issues in one step. In an ideal world there would be even an option to choose a git repo to store all the libs in so a simple fetch will make the new libs that were added using InvenTree available in your cad soft.

I cannot seem to find the SnapEDA TOS though...

Activity

  1. eeintech commented on Aug 20, 2020

    @eeintech
    Contributor

    @Snevzor I have tried to get a hold on SnapEDA's API for a tool I developed: https://github.com/sparkmicro/Ki-nTree/
    However, they're quite picky on the projects they would support. I actually made a case that InvenTree was used by hundreds of people and they still consider it as "very early stage" project.

    I've also considered using Octopart's API but their older API was lacking features for filtering requests and now they have a pretty harsh limit of 500 requests a month for the free version. Digi-Key's API on the other hand is almost entirely free (limited to 1000 request a day) and there already is a Python API (https://github.com/peeter123/digikey-api). Digi-Key website data is well categorized and formatted in my opinion.

    The combination of KiCad and InvenTree is clearly a winner if one can set them up properly, which was my intention making Ki-nTree. However, InvenTree should never hold KiCad or Eagle libraries, it can merely point to them if needed.

  2. eeintech commented on Sep 7, 2020

    @eeintech
    Contributor

    @Snevzor What are your thoughts on my previous comment?

  3. eeintech commented on Oct 13, 2020

    @eeintech
    Contributor

    SnapEDA API's isn't made public yet (the main request of the OP), I would suggest to close this issue for the time being @SchrodingersGat

  4. Snevzor commented on Oct 13, 2020

    @Snevzor
    Author

    Thanks @eeintech for investigating. I will surely give Ki-nTree a go on my next project! Nice work!

  5. SchrodingersGat commented on Oct 18, 2020

    @SchrodingersGat
    Member

    @Snevzor best bet would be to look at the Python API and try to link this up with SnapEDA. If you come up with a solution please let me know and I'll add it to the Third Party Tools page 👍

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