All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.pvanassen.steam.store.item.ItemService Maven / Gradle / Ivy

Go to download

A Java API to access the Steam community market through the HTTP interface. This may be against the TOS so be careful using it!

There is a newer version: 3.0.8
Show newest version
/**
 *
 */
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