title: No attr named query
body: <p>Okay so I'm programming a Wolfram Alpha API and I added a res string with query and its giving me this error: <code>AttributeError: 'str' object has no attribute 'query'</code>
  Here's the PyDa.py:</p>
  <pre><code>import PySimpleGUI as sg                       
  sg.theme('Dark Blue')
  
      app_id = ('API_key')
      client = (app_id)
  
  
  layout = [  [sg.Text(&quot;Hello, my name's Ted. What's your question?&quot;)],   
          [sg.Input()],
          [sg.Button('Ok'), sg.Button('Cancel')] ]
  
  
  window = sg.Window('Ted', layout)      
  
  
  while True:
  event, values = window.read()   
  if event in (None, 'Cancel'):
          break
  
  
  res = client.query(values[0])
  print(next(res.results).text)
  
  
  
  
  window.close()        
  </code></pre>
  <p>where values[0] is what the user enters. I've tried completely deleting query and it doesn't work. I thing I need to install something but when I try <code>pip install wolframalpha api</code>  it does install but that's not whats missing/ is wrong. I should be getting pods but its not sending those because of the error.</p>