← Back to team overview

kicad-developers team mailing list archive

fyi: program to enter spreadsheet contents into a Digi-Key web-order

 

Hi All,

I wrote this script yesterday as I needed to enter ~200 parts into
Digikey, and didn't want to make any mistakes. It reads in a CSV
file, establishes a TCP connection with the Digikey ordering web
server, and repeatedly POSTs the quantities in your spreadsheet onto
the active server pages. If the minimum quantities are not met for
any of your items, it will first guess the next multiple of 10, and if
that does not work, it will ask you for the quantity. Digikey's
webserver occasionally balks under the torrent of POST and GETs, in
which case you'll have to kill the script, start a new web order, and
try again.

hope this is useful to someone other than myself.

Tim
------
source:
http://code.google.com/p/kicadocaml/source/browse/trunk/scripts/digikeyweborder.ml
makefile:
http://code.google.com/p/kicadocaml/source/browse/trunk/scripts/Makefile
readme:
http://code.google.com/p/kicadocaml/source/browse/trunk/scripts/README