Skip to content

Instantly share code, notes, and snippets.

@petersonfs
Created November 8, 2013 13:12
Show Gist options
  • Save petersonfs/7370863 to your computer and use it in GitHub Desktop.
Save petersonfs/7370863 to your computer and use it in GitHub Desktop.
parserLit.cs
WebClient c = new WebClient();
var data = c.DownloadString("https://www.mercadobitcoin.com.br/api/trades_litecoin/");
var jaison = JsonConvert.DeserializeObject<List<Trades>>(data);
textBox1.Text = jaison.First().amount.ToString();
textBox2.Text = jaison.First().date.ToString();
textBox3.Text = jaison.First().price.ToString();
textBox4.Text = jaison.First().tid.ToString();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment