Hello Jon, I just tried sending a request using OAuth Playground<http://googlecodesamples.com/oauth_playground/index.php>to this URL and it worked perfectly:
https://www.google.com/calendar/feeds/default/allcalendars/full?alt=jsonc Do you get any specific error message? Best, Alain On Thu, Jul 14, 2011 at 4:37 PM, Jon <[email protected]> wrote: > Hi everyone, so I've been looking over the documentation very extensively > to see whether I can do this. > > Say after I authenticate with Google and get the Auth Token, I want to get > a list of calendars of the current user. > > NSMutableURLRequest *requestAllCalendars = [[NSMutableURLRequest alloc] > initWithURL:[NSURL URLWithString:@" > https://www.google.com/calendar/feeds/default/allcalendars/full"]]; > > > and then I use GTMHTTPFetcher fetcherWithRequest to get the response: > > > GTMHTTPFetcher* myFetcher = [GTMHTTPFetcher fetcherWithRequest > :requestAllCalendars]; > > [myFetcher setAuthorizer:authToken]; > > I get the response back in atom. and I tried various ways to get it in > json-c but I haven't been able to. > I know the documents say to append the alt=jsonc query parameter, but I've > tried it with no luck. > > Any help is appreciated. > > -- > 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 > -- Alain Vongsouvanh -- 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
