Skip to content
viruch edited this page May 23, 2011 · 22 revisions

Communication

JSON is used for the communication between Server and Client.

Client API

get_stock [ all | resource_id ] user_id 
example Request
{ get_stock:  resource }
}
get_resource [ all | resource_id ] 
get_auctions [ all | resource_id ]
get_user user_id
buy auction_id
create_auction user_id resource_id amount price duration_sec

Server API

Clone this wiki locally