type BtcData = FSharp.Data.JsonProvider<"""{ "USD":{"15m":1.1,"last":1.1,"buy":1.1,"sell":1.1,"symbol":"$"}, "EUR":{"15m":1.1,"last":1.1,"buy":1.1,"sell":1.1,"symbol":"€"}, "GBP":{"15m":1.1,"last":1.1,"buy":1.1,"sell":1.1,"symbol":"£"} }"""> let prices = BtcData.Load("https://blockchain.info/ticker") //prices.Eur.Buy : val it : decimal = 923.52M (at 02/02/2017) //prices.Gbp.Sell : val it : decimal = 794.61M (at 02/02/2017)