c# - How to get attributes out of an event of Google-Calendar? -
in last days tried read attributes out of event of google-calendar
so have achived event-id out of calendar.
code:
using system; using google.gdata.extensions; using google.gdata.calendar; namespace consoleapplication1 { class class1 { [stathread] static void main(string[] args) { eventquery query = new eventquery(); query.uri = new uri("https://www.google.com/calendar/feeds/my@e-mail.com/public/basic"); query.numbertoretrieve = 10; query.starttime = system.datetime.now; query.endtime = system.datetime.today.adddays(10); calendarservice service = new calendarservice(appname); service.setusercredentials(username, password); eventfeed calfeed = service.query(query); foreach (evententry feedentry in calfeed.entries) { console.writeline("event id: " + feedentry.eventid); console.readline(); } } } } and tried feedentry.title.text title ... "busy"
so question is:
ho can informations out of event?
the answer is:
query.uri = new uri("https://www.google.com/calendar/feeds/my@e-mail.com/public/basic"); has :
query.uri = new uri("https://www.google.com/calendar/feeds/my@e-mail.com/private/full");
Comments
Post a Comment