title: Iterate through multi level json/dictionaries in Python 3
body: <p>I am fetching data from an api</p>
  
  <pre><code>data = json.loads(api_response.content)
  </code></pre>
  
  <p>which returns </p>
  
  <pre><code>{
    'NKE': {
      'quote': {
        'symbol': 'NKE',
        'companyName': 'NIKE, Inc.',
        'primaryExchange': 'New York Stock Exchange',
        'calculationPrice': 'close',
        'open': 101.14,
        'openTime': 1578321000670,
        'close': 101.83,
        'closeTime': 1578344409251,
        'high': 101.84,
        'low': 100.869,
        'latestPrice': 101.83,
        'latestSource': 'Close',
        'latestTime': 'January 6, 2020',
        'latestUpdate': 1578344409251,
        'latestVolume': 4608458,
        'iexRealtimePrice': 0,
        'iexRealtimeSize': 0,
        'iexLastUpdated': 0,
        'delayedPrice': 101.83,
        'delayedPriceTime': 1578346947002,
        'extendedPrice': 101.99,
        'extendedChange': 0.16,
        'extendedChangePercent': 0.00157,
        'extendedPriceTime': 1578400716493,
        'previousClose': 101.92,
        'previousVolume': 4542003,
        'change': -0.09,
        'changePercent': -0.00088,
        'volume': 0,
        'iexMarketPercent': None,
        'iexVolume': 0,
        'avgTotalVolume': 5776147,
        'iexBidPrice': 0,
        'iexBidSize': 0,
        'iexAskPrice': 0,
        'iexAskSize': 0,
        'marketCap': 158959684900,
        'peRatio': 34.88,
        'week52High': 102.21,
        'week52Low': 74.3,
        'ytdChange': -0.0045,
        'lastTradeTime': 1578344409241,
        'isUSMarketOpen': False
      }
    },
    'UAA': {
      'quote': {
        'symbol': 'UAA',
        'companyName': 'Under Armour, Inc.',
        'primaryExchange': 'New York Stock Exchange',
        'calculationPrice': 'close',
        'open': 21.51,
        'openTime': 1578321000404,
        'close': 20.44,
        'closeTime': 1578344686271,
        'high': 21.53,
        'low': 20.35,
        'latestPrice': 20.44,
        'latestSource': 'Close',
        'latestTime': 'January 6, 2020',
        'latestUpdate': 1578344686271,
        'latestVolume': 11132892,
        'iexRealtimePrice': 0,
        'iexRealtimeSize': 0,
        'iexLastUpdated': 0,
        'delayedPrice': 20.49,
        'delayedPriceTime': 1578347272279,
        'extendedPrice': 0,
        'extendedChange': None,
        'extendedChangePercent': None,
        'extendedPriceTime': 1578356330039,
        'previousClose': 21.85,
        'previousVolume': 4596587,
        'change': -1.41,
        'changePercent': -0.06453,
        'volume': 0,
        'iexMarketPercent': None,
        'iexVolume': 0,
        'avgTotalVolume': 4329339,
        'iexBidPrice': 0,
        'iexBidSize': 0,
        'iexAskPrice': 0,
        'iexAskSize': 0,
        'marketCap': 9230009040,
        'peRatio': 82.55,
        'week52High': 27.72,
        'week52Low': 16.74,
        'ytdChange': -0.126054,
        'lastTradeTime': 1578344399983,
        'isUSMarketOpen': False
      }
    },
  </code></pre>
  
  <p>my aim is to access elements on the third and final level like symbol, companyName and latestPrice
  and add it to a database</p>
  
  <pre><code>dic_data = {
              "symbol": data['symbol'] , 
              "latestPrice": data['latestPrice'] , 
              "companyName":  data['companyName'], 
              "week52High": data['week52High'] , 
              "week52Low": data['week52Low'] , 
              "ytdChange": data['ytdChange'] ,
              "latestTime":  data['latestTime'],  
              "changePercent": data['changePercent'] , 
              }
  )
  </code></pre>
  
  <p>how can I loop through data and access the last level of the dictionary?</p>