IEconService
Methods IEconService
Cream::IEconService.gettradehistory(key : String, max_trades : UInt32, start_after_time : UInt32, start_after_tradeid : UInt64, language : String)
Parameters
key
Type: string
Optional: false
Description: Access key
max_trades
Type: uint32
Optional: false
Description: The number of trades to return information for
start_after_time
Type: uint32
Optional: false
Description: The time of the last trade shown on the previous page of results, or the time of the first trade if navigating back
start_after_tradeid
Type: uint64
Optional: false
Description: The tradeid shown on the previous page of results, or the ID of the first trade if navigating back
navigating_back
Type: bool
Optional: false
Description: The user wants the previous page of results, so return the previous max_trades trades before the start time and ID
get_descriptions
Type: bool
Optional: false
Description: If set, the item display data for the items included in the returned trades will also be returned
language
Type: string
Optional: false
Description: The language to use when loading item display data
include_failed
Type: bool
Optional: false
Description:
include_total
Type: bool
Optional: false
Description: If set, the total number of trades the account has participated in will be included in the response
Cream::IEconService.gettradeoffers(key : String, language : String, time_historical_cutoff : UInt32)
Parameters
key
Type: string
Optional: false
Description: Access key
get_sent_offers
Type: bool
Optional: false
Description: Request the list of sent offers.
get_received_offers
Type: bool
Optional: false
Description: Request the list of received offers.
get_descriptions
Type: bool
Optional: false
Description: If set, the item display data for the items included in the returned trade offers will also be returned.
language
Type: string
Optional: false
Description: The language to use when loading item display data.
active_only
Type: bool
Optional: false
Description: Indicates we should only return offers which are still active, or offers that have changed in state since the time_historical_cutoff
historical_only
Type: bool
Optional: false
Description: Indicates we should only return offers which are not active.
time_historical_cutoff
Type: uint32
Optional: false
Description: When active_only is set, offers updated since this time will also be returned
Cream::IEconService.gettradeoffer(key : String, tradeofferid : UInt64, language : String)
Parameters
key
Type: string
Optional: false
Description: Access key
tradeofferid
Type: uint64
Optional: false
Description:
language
Type: string
Optional: false
Description:
Cream::IEconService.gettradeofferssummary(key : String, time_last_visit : UInt32)
Parameters
key
Type: string
Optional: false
Description: Access key
time_last_visit
Type: uint32
Optional: false
Description: The time the user last visited. If not passed, will use the time the user last visited the trade offer page.
Cream::IEconService.declinetradeoffer(key : String, tradeofferid : UInt64)
Parameters
key
Type: string
Optional: false
Description: Access key
tradeofferid
Type: uint64
Optional: false
Description:
Cream::IEconService.canceltradeoffer(key : String, tradeofferid : UInt64)
Parameters
key
Type: string
Optional: false
Description: Access key
tradeofferid
Type: uint64
Optional: false
Description: