title: Using a python api that stores a dict in a list of dicts...with no key values
body: <p>The python API (gmusicapi) stores playlists as a list of dicts with the track info as a dict inside that dict.</p>
  
  <p>-edit- this is wrong. it does have some sort of key when printed, but I cant find out how to access the keys within the dict.</p>
  
  <pre><code>list = [
      { ##this dict isn't a problem, I can loop through the list and access this.
      'playlistId': '0xH6NMfw94',
      'name': 'my playlist!',
      {'trackId': '02985fhao','album': 'pooooop'}, #this dict is a problem because it has no key name. I need it for track info
      'owner': 'Bob'
      },
  
      { ##this dict isn't a problem, I can loop through the list and access this.
      'playlistId': '2xHfwucnw77',
      'name': 'Workout',
      'track':{'trackId': '0uiwaf','album': 'ROOOCKKK'}, #this dict would probably work
      'owner': 'Bob'
      }
  ]
  </code></pre>
  
  <p>I have tried using for loops and accessing it through somethings like:</p>
  
  <pre><code>def playLists(self):
      print 'attempting to retrieve playlist song info.'
      playListTemp = api.get_all_user_playlist_contents()
      for x in range(len(playListTemp)):
          tempdictionary = dict(playListTemp[x])
  </code></pre>
  
  <p>The problem here is tempdictionary has a dict in it called tracks but I can't seem to access the keys/value pairs inside it no matter what I do.</p>
  
  <p>when printed it returns something like:</p>
  
  <pre><code>[u'kind', u'name', u'deleted', u'creationTimestamp', u'lastModifiedTimestamp', u'recentTimestamp', u'shareToken', 'tracks', u'ownerProfilePhotoUrl', u'ownerName', u'accessControlled', u'type', u'id', u'description']
  </code></pre>
  
  <p>where 'tracks' is a dict containing artist, title, tracknumber etc</p>
  
  <p>I also tried something like:</p>
  
  <p>tempdictionary['tracks'][x]['title']
  with no luck. Other times I have tried creating a new dict with tracks dict as a velue but then I get an error saying it needs a value of 2 and it found something like 11 etc.</p>
  
  <p>im new to python so if anyone here could help with this I would be very thankful</p>