Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Filtering of Hand-Soldered Components #54

Open
ahalekelly opened this issue Mar 3, 2022 · 4 comments
Open

Allow Filtering of Hand-Soldered Components #54

ahalekelly opened this issue Mar 3, 2022 · 4 comments

Comments

@ahalekelly
Copy link

Thanks for the useful tool! Does the API expose which components require hand soldering? It would be great to be able to filter them out.

@yaqwsx
Copy link
Owner

yaqwsx commented Mar 22, 2022

At the moment, JLC PCB doesn't provide this information in their spreadsheet. So I have no way of obtaining the information

@raspico
Copy link

raspico commented Jul 17, 2023

As an aside, REQUIRING hand soldering vs. ALLOWING it is obviously related to the package type. Maybe it would make sense to classify by package types: e.g SOP and DIL are easily solderable, QFN and TSSOP are harder, and obviously BGA are almost impossible to hand solder.

@yaqwsx
Copy link
Owner

yaqwsx commented Jan 7, 2024

@maksz42 Any changes you have an idea where to obtain this information on JLC PCB API since you poked into it recently?

@maksz42
Copy link
Contributor

maksz42 commented Jan 13, 2024

@yaqwsx I found https://jlcpcb.com/api/overseas-pcb-order/v1/shoppingCart/smtGood/getComponentDetail which returns

"assemblyMode": "manualWeld"
"assemblyModeBatch": "manualWeld"
"assemblyProcess": "THT"

or

"assemblyMode": "smtWeld"
"assemblyModeBatch": "smtWeld"
"assemblyProcess": "SMT"

and some other interesting stuff.
Used on https://jlcpcb.com/parts/componentSearch?searchTxt=74hc595
A request is sent when a list item is expanded. It takes some LCSC's internal component code which is different from C12345 codes.
example:

GET https://jlcpcb.com/api/overseas-pcb-order/v1/shoppingCart/smtGood/getComponentDetail?componentLcscId=1359

image

Also, smd/tht can be somehow infered from LCSC search pages, eg: https://www.lcsc.com/products/Shifting-Register_11102.html?keyword=74hc595
which uses endpoint POST https://wmsc.lcsc.com/wmsc/product/search/list
and https://www.lcsc.com/search?q=74hc595
which uses endpoint GET https://wmsc.lcsc.com/wmsc/search/global?keyword=74hc595
Both return json like:

minPacketUnit	"Reel"
productUnit	"Piece"
productArrange	"Tape & Reel (TR)"
minPacketUnit	"Tube"
productUnit	"Piece"
productArrange	"Tube-packed"

So I think jlcpcb api is a better approach, but I don't know how to get components' codes apart from performing a text search.

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

No branches or pull requests

4 participants