Using Python to call a Bitcoin block explorer API