GetPriceOverview() публичный Метод

Gets the price overview of an item.
public GetPriceOverview ( uint appId, string marketHashName, CultureInfo culture, string country = "US", string currency = "1" ) : CSharpTradeOffers.Trading.MarketValue
appId uint The appId of the item.
marketHashName string The market_hash_name of the item
culture System.Globalization.CultureInfo
country string Country to check in. (ISO)
currency string Currency code, I forget what. 1 = US $
Результат CSharpTradeOffers.Trading.MarketValue
 /// <summary>
 /// Requests decimal worth of an Item.
 /// </summary>
 /// <param name="item">An Item object to get the value of.</param>
 /// <returns>A decimal worth in USD.</returns>
 public decimal ItemWorth(Item item)
 {
     if (item.Tradable != 1) return 0.0m;
     var handler = new MarketHandler();
     MarketValue mv = handler.GetPriceOverview(Convert.ToUInt32(item.AppId), item.MarketHashName);
     return Convert.ToDecimal(mv.MedianPrice.Substring(1));
 }
 /// <param name="marketable"></param>
 /// <param name="appid"></param>
 /// <param name="marketHashName"></param>
 /// <returns></returns>
 public decimal ItemWorth(bool marketable, uint appid, string marketHashName)
 {
     if (marketable.IntValue() != 1) return 0.0m;
     var handler = new MarketHandler();
     MarketValue mv = handler.GetPriceOverview(Convert.ToUInt32(appid), marketHashName);
     return Convert.ToDecimal(mv.MedianPrice.Substring(1));
 }