LearnatHome / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
Other
0 stars 0 forks source link

Atom output not working #286

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[Use this form for both apiclient and oauth2client issues]

What steps will reproduce the problem?
1. modify a working query to include alt='atom' as an arg to cse().list()
2. execute query
3. notice that JSON is returned

What is the expected output? What do you see instead?

Atom is expected, JSON is returned instead

What version of the product are you using? On what operating system?

changeset 595

Please provide any additional information below.

I performed the same query via a curl GET and it worked as expected, returning 
Atom

Original issue reported on code.google.com by m...@coactus.com on 1 Jul 2013 at 2:18

GoogleCodeExporter commented 9 years ago
If you want to use Atom then you will need to create and use a model class
that derives from BaseModel that uses Atom:

   http://google-api-python-client.googlecode.com/hg/docs/epy/apiclient.model.BaseModel-class.html

Original comment by jcgregorio@google.com on 1 Jul 2013 at 3:59