title: How to extract specific data in results obtained from using Python Requests library
body: <p>Please take a look at the code below:</p>
  
  <pre><code>@login_required
  def dashboard(request):
      code = request.GET.get('code', '')
      payload = {
          "client_id" : settings.GITHUB_CLIENT_ID,
          "client_secret" : settings.GITHUB_CLIENT_SECRET,
          "code" : code,
          "state" : settings.STATE,
      }
      response = requests.post('https://github.com/login/oauth/access_token', params=payload)
      # final_response = requests.get('https://api.github.com/user', auth=GitHubTokenAuth(access_token))
      return HttpResponse(response)
      # authenticated_user = final_response.json()
      # return render(request, 'core/dashboard.html', {'authenticated_user':authenticated_user})
  </code></pre>
  
  <p>The <code>response</code> variable is returning values similar to:</p>
  
  <pre><code>access_token=eiwfbvdsvefieebrferferwfreferfersfwrb&amp;scope=a%20list%20of%20scopes&amp;token_type=bearer
  </code></pre>
  
  <p>How do I access the value of <code>access_token</code> so I can use as seen in the value of the commented out <code>final_response</code> variable?
  Thanks in anticipation!</p>