Hey Boris,

I'm not sure you want to do that, the Python Client library already parses
the XML responses and maps it to Python Objects (so you don't have to care
about the exchange format being XML or JSON).

Thought if you really want to get JSON, what you have to do is add a
alt=json or alt=jsonc URL parameter to the GData feed URL.

As JSON (or JSONC) is usually aimed at people who are going to use the
protocol directlyation (as opposed to using a language specific Client
library) the document is in the protocol section of the doc:
http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html

Cheers!
*
Nicolas*
*Google Apps API team*
*
*



On Tue, Feb 8, 2011 at 1:51 AM, bkizzy <[email protected]> wrote:

> Hi All,
>
> Can someone show me how to request calendar data in json format using the
> python api. I've burned a few hours and can't seem to get it to work. I am
> just trying to use the simple AuthSub example and get the calendar list in
> json.
>
> Many thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Calendar Data API" group.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://code.google.com/apis/calendar/community/forum.html
>

-- 
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/calendar/community/forum.html

Reply via email to