Closed AeybelV closed 2 months ago
Partpal can read in a config file (partpal.json) containing Digikey client id's and secrets. Using the Digikey ProductInformation (v4) -> ProductSearch API, we can get details about a product when given
pytests can be found in tests/distributors
, and run by
# in repo root
export PYTHONPATH=$(pwd)
pytest tests/distributor # Add -s flag if you wish to see the query response
Register and setup API access for Digikey, otherwise resort to web scraping. Should be able to interact with Digikey to query for part data and prices. As well as generate carts and get shipping data.