Attendees

class gcsa.attendee.Attendee(email, display_name=None, comment=None, optional=None, is_resource=None, additional_guests=None, _id=None, _is_self=None, _response_status=None)

Represents attendee of the event.

Parameters:
  • email (str) – The attendee’s email address, if available.

  • display_name (str) – The attendee’s name, if available

  • comment (str) – The attendee’s response comment

  • optional (bool) – Whether this is an optional attendee. The default is False.

  • is_resource (bool) – Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. The default is False.

  • additional_guests (int) – Number of additional guests. The default is 0.

  • _id (str) – The attendee’s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API

  • _is_self (bool) – Whether this entry represents the calendar on which this copy of the event appears. The default is False (set by Google’s API).

  • _response_status (str) – The attendee’s response status. See ResponseStatus

class gcsa.attendee.ResponseStatus

Possible values for attendee’s response status

  • NEEDS_ACTION - The attendee has not responded to the invitation.

  • DECLINED - The attendee has declined the invitation.

  • TENTATIVE - The attendee has tentatively accepted the invitation.

  • ACCEPTED - The attendee has accepted the invitation.

NEEDS_ACTION = 'needsAction'
DECLINED = 'declined'
TENTATIVE = 'tentative'
ACCEPTED = 'accepted'