Exemplo n.º 1
0
        public IMarketCommodityOffer SendQueryMarketRequest(int commodity)
        {
            QueryMarket          item     = new QueryMarket(commodity);
            MarketCommodityoffer response = new MarketCommodityoffer(item);

            return(response);
        }
Exemplo n.º 2
0
        public MarketCommodityoffer(QueryMarket item)
        {
            SimpleHTTPClient     client   = new SimpleHTTPClient();
            MarketCommodityoffer response = client.SendPostRequest <QueryMarket, MarketCommodityoffer>(
                Url,
                User,
                token,
                item);

            this.ask = response.ask;
            this.bid = response.bid;
        }