Head Texture of the Month: Freestyle
Original Post
[REL]Toribash Market Checker
This is a program I got inspired to make from this thread.
Decided to use python because I'm comfortable with it, it's easy for others to use and why not. You'll need python 2.7.10 for it.
If you have python 3.4 then use Hisoka's port over here.

It uses the Toribash API to check through the market inventory of any user and outputs a text file listing all of their market inventory and the best competitive value that the items have. (Ideally after you get the output file you can then go through and update your items accordingly or maybe just enjoy looking at the potential value you have sitting around in crap you don't use)
For eg,
If a competitor has an item already on the market then your competitive best value is 1 tc below that. It also takes into account when items are out of stock or not available for tc purchase in the shop.

At the end of the output file it also gives you a figure for the total best competitive value of your market inventory is.

Possible things for the future:
-Able to specify which items to value (active/inactive/market inventory/specific set/etc)
-Change output to indicate which of those items you already have at their optimal price in the market and order the output to show the ones that are furthest above the optimal first
-Look into the market search call and try to get it working faster and more efficiently if possible
-Start more work towards making a proper Toribash API library in python so this useful information automation is accessible to more people.

FAQ about API here for more info.
Questions, help, comments, improvements feel free to post here.

Last edited by Solax; Oct 12, 2015 at 06:25 AM.
Dunno if I'm going crazy, but I can't see a link to the program anywhere in your post?
I get this error, then it closes immediately.
Attached Thumbnails
Oblivion: that wasn't hilarious
Oblivion: it was brilliantly complex though
Oblivion: hands down man
Oblivion: today I genuinely believe more than I ever did before
Oblivion: that you are better than me
Oblivion: gg NutHug

Like my stuff?
Join my FunClub or subscribe on Youtube
That's real fuckin weird. How did you grab the python file? line 4 for me is 'import hashlib', so obviously something's weird with your copy.
<~suomynona> TITS OR ELEELETH
Great script,but the problems are many.

First of all,Windows users are going to get several problems.

1) The "print" function it's deprecated in Python 3.4,it was replaced by "print()".
2) "Raw_Input" is deprecated too,now just "Input()".
3) Requests module must be installed via Pip for Windows.

Here is how to fix, first of all,i've modified the deprecated functions,so here is the new script:

You have to run the fixed .py file instead Solax's one if you're running Python 3.4.

To get requests module installed on Windows you must download the following program.

Once downloaded you must browse to your Python.exe directory.

Now replace "pip install pyDatalog" with "pip install requests".

Hit Run.

Now run the fixed .py file and you're done, enjoy!