SHARE
TWEET

Untitled

a guest Jun 19th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static void SetExchangePrices(JToken prices)
  2. {
  3.     priceLikesSell = Convert.ToDouble(prices[(object)"sell"][(object)"likes"].ToString());
  4.     priceFollowersSell = Convert.ToDouble(prices[(object)"sell"][(object)"followers"].ToString());
  5.     priceRepostSell = Convert.ToDouble(prices[(object)"sell"][(object)"repost"].ToString());
  6.     priceLikesBuy = Convert.ToDouble(prices[(object)"buy"][(object)"likes"].ToString());
  7.     priceFollowersBuy = Convert.ToDouble(prices[(object)"buy"][(object)"followers"].ToString());
  8.     priceRepostBuy = Convert.ToDouble(prices[(object)"buy"][(object)"repost"].ToString());
  9. }
  10.      
  11. {
  12.   "prices": [
  13.     {
  14.       "sell": {
  15.         "likes": "12345",
  16.         "followers": "12345",
  17.         "repost": "12345"
  18.       },
  19.       "buy": {
  20.         "likes": "12345",
  21.         "followers": "12345",
  22.         "repost": "12345"
  23.       }
  24.     }
  25.   ]
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top