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

Add suppliers Automation Direct and Jameco #248

Closed

Conversation

hillsandales
Copy link
Contributor

I've also implemented search support for Automation Direct's website. It uses similar techniques as Jameco's in that the request is sent to the same API URL used for searching on Automation Direct's search box. Automation Direct search returns json data that is then used to populate the page. I've tested it on a few different types of parts, and it seems to return valid standard data and parameter data. Pricing data is also implemented, thought Automation Direct does not offer quantity discounts. For parts that do have quantity other than equal to 1, such as cable, it creates pricing data for a list of quantities that cable may be ordered. For parts that are sold individually, this min/max length for ordering is not returned, so it simply takes the 'price' value and puts it into the part_info['pricing'] dictionary as a quantity of 1.

It looks like I may have branched off from my Jameco branch that I submitted yesterday by mistake. This one appears to include both...

@eeintech
Copy link
Contributor

eeintech commented Jul 2, 2024

It looks like I may have branched off from my Jameco branch that I submitted yesterday by mistake. This one appears to include both...

Yup you did just that 😄 is this PR dependent on #247 ?

@hillsandales
Copy link
Contributor Author

I'll submit another pull request indicating both suppliers were added.

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

Successfully merging this pull request may close these issues.

None yet

2 participants