Help for this page

Select Code to Download


  1. or download this
    echo "1 BTC = $(curl -s https://api.coindesk.com/v1/bpi/currentprice/u
    +sd.json | grep -o 'rate":"[^"]*' | cut -d\" -f3) USD"
    1 BTC
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
        }
    }
    
  3. or download this
    1 BTC = 33 33curl -s https://api.coindesk.com/v1/bpi/currentprice/usd.
    +json | grep -o 'rate":"[^"]*' | cut -d" -f3) USD