brickoptimizer - optimize the price of Bricklinks Wanted List
This piece of software is intended to be used by the Lego™ aficionados.
It uses Bricklink (http://www.bricklink.com) Wanted Lists to generate forms so you can buy bricks in the least number of stores as possible paying the least price you can get.
Libraries needed to run Brickoptimizer: libtidy (http://tidy.sourceforge.net) libcurl (http://curl.haxx.se/libcurl/c) libcurl is necessary to retrieve Bricklink web pages whilst libtidy is responsible for parsing HTML pages.
The idea is based on Brickficiency (https://code.google.com/p/brickficiency) which intends to do the same thing (and it do it perfectly) but somehow didn't work on my 64 bits computer because the binary produced from Perl language has some restrictions.
Feel free to ask, change, complain, curse or improve. I'd be glad to hear from you.
Download Brickoptimizer win32 binary:
http://www.4shared.com/zip/-r4-an_pba/brickoptimizer.html
Instructions:
usage: brickoptimizer <username> <password> <wanted list name> <session_id>
Brickoptimizer will login to your Bricklink account to gather information on the provided Wanted List name. It will print URLs of the stores with the best prices for your items and create HTML forms to add the items to your cart.
These forms will only work correctly if you provide a valid session ID. A session ID is obtained each time you login to Bricklink.com. The connection from Brickoptimizer will have a different session ID from your browser session ID.
The HTML forms will add the items to the cart of the session provided. If you provide the session ID of your browser, it will be easy to verify that the items were added to your cart.
To obtain the session ID of your browser, follow the steps below:
If you do not provide a valid session ID, the form will still be created, but the items will not show on the cart of your web browser. You can still change the session ID of the forms aftwards by editing the HTML files created by Brickoptimizer.