Hello, i am able to create events using the PHP API....now i would like to 
add colors or categories to the events. how can i do so?

this is my current code:

        $event             = $gcal->newEventEntry();        
        $event->title     = $gcal->newTitle($title); 
        $event->where     = array($gcal->newWhere($where));
        $event->content = $gcal->newContent("$content");

        $when = $gcal->newWhen();
        $when->startTime = $startDate."T".$startTime.":00.000$tz:00";  
        $when->endTime = $endDate."T".$endTime.":00.000$tz:00";    
        $event->when = array($when);

          $gcal->insertEvent($event);  


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