Notifications

class Notifications(session_kwargs, client, return_type='raw')

Examples

>>> import civis
>>> client = civis.APIClient()
>>> client.notifications.list(...)

Methods

list(*[, last_event_id, r, mock])

Receive a stream of notifications as they come in

list(*, last_event_id: str = None, r: str = None, mock: str = None)

Receive a stream of notifications as they come in

Parameters:
last_event_idstr, optional

allows browser to keep track of last event fired

rstr, optional

specifies retry/reconnect timeout

mockstr, optional

used for testing

Returns:
None

Response code 200: success