Breaking News

The First Blockchain & Cryptocurrency Conference holds in Lagos, Nigeria, with the agenda: Learning to Glow With The Flow, organized in partnership with Blockchain Nigeria Group, is taking place from 14-15 August 2017 at Radisson Blu Anchorage Hotel, Ozumba Mbadiwe Road, Victoria Island, Lagos, Nigeria

Read more »

Get Bitcoin Value with curl or Node.js

I was often checking the price of bitcoin because it would move up and down quite quickly.  I was going to Coinbase to check but as a developer I prefer to do something nerdy to get the value.  I've taken a few moments to get the value of bitcoin in a few programmatic ways.

Get Bitcoin Value via Shell + curl

If I want to be low-level "nerd alert" mode, I'll use this command:

curl -s http://api.coindesk.com/v1/bpi/currentprice.json | python -c "import json, sys; print(json.load(sys.stdin)['bpi']['USD']['rate'])"

Blockchain & Cryptocurrency Conference holds in Lagos, Nigeria

Blockchain & Cryptocurrency Conference 2017, with the agenda: Learning to Glow With The Flow, organised in partnership with Blockchain Nigeria Group and taking place from 14-15 August 2017 at Radisson Blu Anchorage Hotel, Ozumba Mbadiwe Road, Victoria Island, Lagos, Nigeria, will focus on identifying the opportunities and overcoming the challenges to making this revolutionary technology a reality in Nigeria. Registration if free, but access is granted by purchasing tickets.