These scripts demonstrate how to call the PartFuse API using curl.
- Copy
.env.examplefrom the root to.envin the root directory and fill in your RapidAPI Key. - Make scripts executable:
chmod +x *.sh
# Search
./search.sh "LM7805"
# Compare
./compare.sh "STM32F103C8T6" 10
# BOM Compare
./bom_compare.sh
# Health/Ping
./health.sh
./ping.shcurljq(optional, for pretty printing json output if you want to pipe:./search.sh | jq)