2011-07-01 9 views
-1

私はいくつかのカレンダーベースのイベントを持つ人材asp.Netプロジェクトに取り組んでいます。私が考えているのは、それらのイベントをユーザーのGoogleカレンダーに同期できるかどうかです。Googleカレンダーで予定を作成するasp.Netアプリケーションを開発することは可能ですか?

Googleカレンダーで予定を作成するアプリケーションを作成することはできますか?これにはAPIの種類がありますか?はいの場合、いくつかの制限がありますか?

+0

このURLをチェック:実際のコードはhttp://code.google.com/apis/calendar/data/2.0/developers_guide_dotnet.html#CreatingEvents –

答えて

3

APIがあります。

EventEntry entry = new EventEntry(); 

// Set the title and content of the entry. 
entry.Title.Text = "Tennis with Beth"; 
entry.Content.Content = "Meet for a quick lesson."; 

// Set a location for the event. 
Where eventLocation = new Where(); 
eventLocation.ValueString = "South Tennis Courts"; 
entry.Locations.Add(eventLocation); 

When eventTime = new When(DateTime.Now, DateTime.Now.AddHours(2)); 
entry.Times.Add(eventTime); 

Uri postUri = new Uri("https://www.google.com/calendar/feeds/default/private/full"); 

// Send the request and receive the response: 
AtomEntry insertedEntry = service.Insert(postUri, entry); 

カレンダーを持っている場合は、パブリックとして設定更新している、またはあなたが他の人を招待し、彼らはあなたのカレンダーを購読することができますし、すべての更新プログラム:私は何を探していることは、次のだと思うThis linkをチェックあなたのカレンダーに表示されます

関連する問題