Hello Ted, The JSON output should be working, though it does appear that the calendar used for the sample doesn't have any future events listed currently, and thus the page is empty.
Retrieving the feed on the sample page did work for me though-- It included a valid JSON callback, but there were likely no entries. To get some entries, remove the requirement for the events to be in the future (by removing the 'futureevents=true query param): http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/public/full?alt=json-in-script&callback=insertAgenda&orderby=starttime&max-results=15&singleevents=true&sortorder=ascending When you received a 400 error-- do you know what the body of the response was? This should indicate more detail about the error. Cheers, -Ryan On Jun 12, 6:38 pm, Ted Tschopp <[EMAIL PROTECTED]> wrote: > I have been playing around with getting JSON data out of the calendar, > and I keep getting errors. > > Is anyone else having problems. > > Here are a couple 'pages' from the demos that are returning nothing. > > http://www.google.com/calendar/feeds/[EMAIL > PROTECTED]/public/full?alt=json-in-script&callback=insertAgenda&orderby=starttime&max-results=15&singleevents=true&sortorder=ascending&futureevents=true > > as seen on > > http://code.google.com/apis/gdata/samples/cal_sample.html > > I get a 400 bad request error returned. > > Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google 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://groups.google.com/group/google-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
