Package net.eternalclient.api.utilities
Class LivePrices
- java.lang.Object
-
- net.eternalclient.api.utilities.LivePrices
-
public class LivePrices extends java.lang.ObjectA class that provides methods to retrieve live prices of items.
-
-
Constructor Summary
Constructors Constructor Description LivePrices()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetHighItemPrice(int id)Returns the highest price of an item identified by the given id.static intgetItemPrice(int id)Returns the price of an item based on its ID.static intgetLowItemPrice(int id)Returns the lowest price of the item with the given id.
-
-
-
Method Detail
-
getItemPrice
public static int getItemPrice(int id)
Returns the price of an item based on its ID.- Parameters:
id- the ID of the item- Returns:
- the price of the item
-
getHighItemPrice
public static int getHighItemPrice(int id)
Returns the highest price of an item identified by the given id.- Parameters:
id- the identifier of the item- Returns:
- the highest price of the item
-
getLowItemPrice
public static int getLowItemPrice(int id)
Returns the lowest price of the item with the given id.- Parameters:
id- the id of the item- Returns:
- the lowest price of the item
-
-