1010This repo is still in earlier stage of development, but all completed parts already tested with real world applications.
1111
1212## Documentation
13- Please look at examples .
13+ Please look at * [ API ] ( https://github.com/CodeBeamOrg/CodeBeam.GoogleApis.Blazor/blob/master/Api.md ) * .
1414
1515
1616## Contributing
@@ -56,11 +56,11 @@ OR - For cs files
5656``` cs
5757private void CreateCalendar ()
5858{
59- GoogleCalendarListModel googleCalendarListModel = new GoogleCalendarListModel ()
59+ GoogleCalendarListModel googleCalendarListModel = new ()
6060 {
61- summary = " Test Calendar" ,
62- description = " Created By CodeBeam" ,
63- timeZone = " Europe/Istanbul" ,
61+ Summary = " Test Calendar" ,
62+ Description = " Created By CodeBeam" ,
63+ TimeZone = " Europe/Istanbul" ,
6464 };
6565 CalendarService .AddCalendar (googleCalendarListModel );
6666}
@@ -115,10 +115,10 @@ private void AddEvent()
115115{
116116 GoogleCalendarEventModel googleCalendarEvent = new ()
117117 {
118- summary = " Test Event" ,
119- description = " Some Description" ,
120- start = new Start { dateTime = CalendarService .GetProperDateTimeFormat (DateTime .Now ) },
121- end = new End { dateTime = CalendarService .GetProperDateTimeFormat (DateTime .Now ) },
118+ Summary = " Test Event" ,
119+ Description = " Some Description" ,
120+ Start = new Start { dateTime = CalendarService .GetProperDateTimeFormat (DateTime .Now ) },
121+ End = new End { dateTime = CalendarService .GetProperDateTimeFormat (DateTime .Now ) },
122122 };
123123 // If you don't know the id of calendar which will the event be added, use FindCalendarId method. In this case, the event added the calendar which has "Test Calendar" title.
124124 string result = CalendarService .AddEvent (googleCalendarEvent , CalendarService .FindCalendarId (CalendarValueType .Summary , " Test Calendar" ));
@@ -137,6 +137,5 @@ When you call the api to return a list of items (like calendars or events) it re
137137
138138#### Usage
139139``` cs
140- var result = CalendarService .GetCalendars ();
141- GoogleCalendarListRoot _calendars = JsonSerializer .Deserialize <GoogleCalendarListRoot >(result ); // _calendars.items has the list of calendars.
140+ GoogleCalendarListRoot calendars = CalendarService .GetCalendars (); // calendars.items has the list of calendars.
142141```
0 commit comments