Author

Topic: get Bitcoin price using asp.net (Read 1547 times)

newbie
Activity: 16
Merit: 0
May 15, 2013, 04:25:28 AM
#3

cheers for that...got it working with ur help...
hero member
Activity: 588
Merit: 500
May 14, 2013, 10:52:47 AM
#2
First, use System.Net.WebClient to retrieve the content from

http://data.mtgox.com/api/2/BTCUSD/money/ticker

Then, depending on how complex you wanna get, either just parse the result via Regex.Match to extract the "last" trade value, or alternatively the built-in DataContractJsonSerializer to map to a .NET class, or the built-in JsonReaderWriterFactory.CreateJsonReader will create XML from JSON, or find some free add-on libraries that will parse JSON (e.g. http://json.codeplex.com/).
newbie
Activity: 16
Merit: 0
May 14, 2013, 09:44:08 AM
#1

Hi,

Does anyone know how to get the buying and selling bitcoin price using .NET from the mt gox or similar site . 

I have looked at the API sites and nothing seems to be aimed at .NET.

Thanks for any pointers and help...
Jump to: