[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



On Fri, Feb 13, 2009 at 7:14 PM, Steven Michalske <smichalske@xxxxxxxxx> wrote:
> might add a delay to the add action  make it like a human is entering
> them :-P

I don't think Digikey cares how you are ordering.

>
> hardkrash
>
> On Feb 13, 2009, at 1:59 PM, Tim Hanson wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> geda-user mailing list
>> geda-user@xxxxxxxxxxxxxx
>> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
>
>
>
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
>



-- 
http://www.coe.neu.edu/~efoss/
http://evanfoss.googlepages.com/


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user