title: How to print a variable with Requests and JSON
body: <p>I've been programming an application that pulls information from an online API, and I need some help with it.</p>
  
  <p>I'm using requests, and my current code is as follows</p>
  
  <pre><code>myData = requests.get('theapiwebsitehere.com/thispartisworking')
  myRealData = myData.json()
  x = myRealData['data']['playerStatSummaries']['playerStatSummarySet']['maxRating']
  print x
  </code></pre>
  
  <p>I then get this error</p>
  
  <pre><code>myRealData = myData.json()                                                                                                                      
  TypeError: 'NoneType' object is not callable
  </code></pre>
  
  <p>I want to be able to get to the variable maxRating, and print it out, but I can't seem to do that. </p>
  
  <p>Thanks for your help.</p>