'Iterate over events performed by this user.
:param bool public: (optional), only list public events for the
authenticated user
:param int number: (optional), number of events to return. Default: -1
returns all available events.
:param str etag: (optional), ETag from a previous request to the same
endpoint
:returns: generator of :class:`Event <github3.events.Event>`\ s'

def events(self, public=False, number=(-1), etag=None):

    path = [u'events']
    if public:
        path.append(u'public')
    url = self._build_url(base_url=self._api, *path)
    return self._iter(int(number), url, Event, etag=etag)
