I am trying to write a python script that will take a bitcoin address and show how many transactions have processed against that address. I can pull the JSON data down and print it to the screen but I can not figure out how to actually make it so that I go into that data and pull out "n_tx" potion. Here is what I have so far, basic but it shows I am pulling the right data.
r = requests.get('http://blockchain.info/rawaddr/1MtKaahhBAwc1Bs9JLgh2tTAmvHL4kauRb')
I have read several tutorials and tried lots of different ideas and I am sure it is a simple fix my brain just can't grasp it today.
Ultimately I would like to end up with the following on my screen: 1MtKaahhBAwc1Bs9JLgh2tTAmvHL4kauRb has 0 transactions
Thanks in advance.