Hi,

I’m starting with the google calendar APIs. 

I’m trying to read the google agenda to integrate the data in our system. 

I have no problem reading the title of my meetings but I can’t read the 
start and end time. 

Entries[0].Times[0] don’t seem to work. It’s not recognized by visual studio 
2008. Maybe I’m missing a usgin?

 

using System;

using System.Linq;

using System.Text;

using Google.GData.Client;

using Google.GData.Calendar;

using Google.GData.Extensions;

using Google.GData.AccessControl;

?

This is my actual code:  

 

FeedQuery query = new FeedQuery();

Service service = new Service("cl", "exampleCo-exampleApp-1");

AtomEntry entry = null;

// Set your credentials:

 service.setUserCredentials("******@gmail.com", "***********");

// Create the query object:

query.Uri = new Uri(
"http://www.google.com/calendar/feeds/***********@gmail.com/private/basic";);    
  


// Tell the service to query:

AtomFeed calFeed = service.Query(query);

Console.WriteLine(calFeed.Entries[0].Title.Text);

Console.WriteLine(calFeed.Entries[0].Authors[0].Name);

 

Thank you,

Bruno

-- 
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