ShootingMilk / wbot

Automatically exported from code.google.com/p/wbot
0 stars 0 forks source link

New Wrapper - ItemLookup #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
A class that gets suggested trading prices from 
http://forums.zybez.net/pages/2007-price-guide

Usage:
ItemLookup flaxLookup = new ItemLookup("flax");
int averagePrice = flaxLookup.getAveragePrice();

I wanted to also allow the constructor to use the wrapper Item as a parameter, 
but at the time of submitting this, the wrapper does not have a getName() 
method, you can update accordingly, or I will when available.

Uses the JSON dependencies packaged with the bot, no additional libraries 
required.

Original issue reported on code.google.com by tejanca...@gmail.com on 24 Mar 2013 at 7:01

Attachments:

GoogleCodeExporter commented 8 years ago
Also, a side note, github for easy patch submitting would be awesome, just a 
suggestion

Original comment by tejanca...@gmail.com on 24 Mar 2013 at 7:07