The following URL represents a long string of data: http://api.bitcoincharts.com/v1/markets.json
I noticed at the end of the url it was a .json extension, so I already researched about that.
Ive downloaded JSON.NET and referenced it in my c#.net source.
Within this long string, I need to get the following data off the "symbol": "mtgoxUSD" and place it on my form;
1) "bid" 2) "high" 3) "ask" 4) "avg" 5) "low"
I am really confused on how to properly extract this data as the URL is one huge string.
The following snippet below is what I have coded so far as I am stumped on how to continue.
public void Grab()
{
using (var tradeClient = new System.Net.WebClient())
{
var json = tradeClient.DownloadString("http://api.bitcoincharts.com/v1/markets.json");
}
}
Please guide me or reference me on how to get started as I have never dealt with a json extension or file before!
Thanks!