title: Wunderground API to get hourly forecast returns error. - Python
body: <p>I'm trying to get the hourly forecast from the Wunderground API but my code returns this error.</p>
  
  <blockquote>
    <p>Traceback (most recent call last):
      File "weathergraph.py", line 10, in 
        forecast = parsed_json['hourly_forecast']['FCTTIME']['temp']['english'] 
    TypeError: list indices must be integers, not str</p>
  </blockquote>
  
  <p>This is my code.</p>
  
  <blockquote>
    <p>f=urllib2.urlopen('http://api.wunderground.com/api/mykey/hourly/q/NY/New_York_City.json')</p>
    
    <p>json_string = f.read()</p>
    
    <p>parsed_json = json.loads(json_string)</p>
    
    <p>forecast = parsed_json['hourly_forecast']['FCTTIME']['temp']['english'] </p>
    
    <p>f.close()</p>
  </blockquote>
  
  <p>parsed_json = <a href="http://pastie.org/3905346" rel="nofollow">http://pastie.org/3905346</a></p>