This oracle processes the the summary.json from the RSBuddy Exchange website.
public static void main(String[] args) throws IOException {
// Load prices for now
RSBuddyExchangeOracle.retrievePriceGuide();
// Load prices from yesterday
RSBuddyExchangeOracle.retrievePriceGuide(System.currentTimeMillis() - (24 * 60 * 60 * 1000));
// ...
}
All the prices will be processed and cached, then accessed like:
RSBuddyExchangePrice price;
List<RSBuddyExchangePrice> prices;
// Get