![JAR search and dependency download from the Maven repository](/logo.png)
nl.pvanassen.steam.store.item.ItemService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of steam-api Show documentation
Show all versions of steam-api Show documentation
A Java API to access the Steam community market through the HTTP interface. This may be against the TOS so be careful using it!
/**
*
*/
package nl.pvanassen.steam.store.item;
import nl.pvanassen.steam.store.common.GenericHandle;
import nl.pvanassen.steam.store.common.Listing;
/**
* @author Paul van Assen
*/
public interface ItemService {
/**
* @param handle Handle overview item
*/
void getAllItems(GenericHandle handle);
/**
* The datapoints will always be called first. Once they are done the
* listings handle is called
*
* @param host Host to connect to
* @param appId Appid of the item to get
* @param urlName url name of the item to get
* @param dataPointHandle If a datapoint is found this handle is called
* @param listingHandle If all datapoints have been processed, the listings
* are handled through this call
* @param buyOrders Callback telling if this item supports buy orders
* @param immediateSale Immediate sales callback
*/
void getItem(String host, int appId, String urlName, GenericHandle dataPointHandle, GenericHandle listingHandle, GenericHandle buyOrders, GenericHandle immediateSale);
/**
* The datapoints will always be called first. Once they are done the
* listings handle is called
*
* @param appId Appid of the item to get
* @param urlName url name of the item to get
* @param dataPointHandle If a datapoint is found this handle is called
* @param listingHandle If all datapoints have been processed, the listings
* are handled through this call
* @param buyOrders Callback telling if this item supports buy orders
* @param immediateSale Immediate sales callback
*/
void getItem(int appId, String urlName, GenericHandle dataPointHandle, GenericHandle listingHandle, GenericHandle buyOrders, GenericHandle immediateSale);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy