title: Authentication with the Google Docs List API, Python and OAuth 2
body: <p>I'm trying to use the Google Docs API with Python+Django and OAuth 2. I've got the OAuth access token, etc. via google-api-python-client, with the code essentially copied from <a href="http://code.google.com/p/google-api-python-client/source/browse/samples/django_sample/plus/views.py" rel="nofollow">http://code.google.com/p/google-api-python-client/source/browse/samples/django_sample/plus/views.py</a></p>
  
  <p>Now, I assume I should be using the google gdata API, v 2.0.17. If so, I'm unable to find exactly how to authorize queries made using the gdata client. The docs at <a href="http://packages.python.org/gdata/docs/auth.html#upgrading-to-an-access-token" rel="nofollow">http://packages.python.org/gdata/docs/auth.html#upgrading-to-an-access-token</a> (which appear outdated anyway), say to set the auth_token attribute on the client to an instance of gdata.oauth.OAuthToken. If that's the case, what parameters should I pass to OAuthToken?</p>
  
  <p>In short, I'm looking for a brief example on how to authorize queries made using the gdata API, given an OAuth access token. </p>