![BC_Logotype.png](/android/forum/proxy.php?image=https%3A%2F%2Fen.bitcoin.it%2Fw%2Fimages%2Fen%2Fc%2Fcb%2FBC_Logotype.png&hash=4b5626eb71bf6adefab72269b1c2bb40)
This lib provides easy access to Bitcoin prices and blockchain info.
#TODO: Write a proper opening post.
- The methods are well documented.
- The B4A version is work-in-progress.
- Please donate.
Real-time price example:
B4X:
'Non-UI application (console / server application)
#Region Project Attributes
#CommandLineArgs:
#MergeLibraries: True
#End Region
Sub Process_Globals
Dim MainLoop As Timer
Dim tools As BTCTools
End Sub
Sub AppStart (Args() As String)
tools.Initialize
MainLoop.Initialize("MainLoop", 333)
MainLoop.Enabled = True
StartMessageLoop
End Sub
Sub MainLoop_Tick
Log("1 BTC = " & tools.Value("USD") & " USD")
End Sub