title: Python and JSON - TypeError list indices must be integers not str
body: <p>I am learning to use Python and APIs (specifically, this World Cup API, <a href="http://www.kimonolabs.com/worldcup/explorer">http://www.kimonolabs.com/worldcup/explorer</a>)</p>
  
  <p>The JSON data looks like this:</p>
  
  <pre><code>[
    {
      "firstName": "Nicolas Alexis Julio",
      "lastName": "N'Koulou N'Doubena",
      "nickname": "N. N'Koulou",
      "assists": 0,
      "clubId": "5AF524A1-830C-4D75-8C54-2D0BA1F9BE33",
      "teamId": "DF25ABB8-37EB-4C2A-8B6C-BDA53BF5A74D",
      "id": "D9AD1E6D-4253-4B88-BB78-0F43E02AF016",
      "type": "Player"
    },
  
   {
      "firstName": "Alexandre Dimitri",
      "lastName": "Song-Billong",
      "nickname": "A. Song",
      "clubId": "35BCEEAF-37D3-4685-83C4-DDCA504E0653",
      "teamId": "DF25ABB8-37EB-4C2A-8B6C-BDA53BF5A74D",
      "id": "A84540B7-37B6-416F-8C4D-8EAD55D113D9",
      "type": "Player"
    },
     ]
  </code></pre>
  
  <p>I am simply trying to print all of the firstNames in this API.  Here's what I have:</p>
  
  <pre><code>import urllib2
  import json
  
  url = "http://worldcup.kimonolabs.com/api/players?apikey=xxx"
  json_obj = urllib2.urlopen(url).read
  readable_json = json.dumps(json_obj)
  playerstuff = readable_json['firstName']
  for i in playerstuff:
      print i['firstName']
  </code></pre>
  
  <p>But when I run it, I get the error "...line 8, in ...TypeError: list indices must be integers, not str"</p>
  
  <p>I have looked around for solutions, but seem to find questions to more "in depth" API questions and I don't really understand it all yet, so any help or explanation as to what I need to do would be amazing.  Thank you!</p>