Assuming you've got a service initialized and a URL, etc -- here is
some code that grabs all events between now and May 10th.
CalendarQuery query = new CalendarQuery(<your nfl calendar url>);
myQuery.setMinimumStartTime(DateTime.now());
myQuery.setMaximumStartTime(DateTime.parseDateTime("2010-05-10T23:59:59"));
CalendarEventFeed resultFeed = myService.query(query,
CalendarEventFeed.class);
List<CalendarEventEntry> entries = resultFeed.getEntries();
for (int i = 0; i < entries.size(); i++) {
CalendarEventEntry entry = entries.get(i);
....
}
}
CalendarEventEntry has a getId, etc. Does that help?
-Andy
On May 5, 5:41 pm, "Ian R." <[email protected]> wrote:
> Can someone help me get started on pulling the event data from the NFL
> team calendars that Google provides. I cant seem to find the call to
> give me a listing of the eventIds. Am I just blind?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" 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
> athttp://groups.google.com/group/google-appengine-java?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" 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-appengine-java?hl=en.