'Iterate over the repositories this team has access to.
:param int number: (optional), number of repos to iterate over.
Default: -1 iterates over all values
:param str etag: (optional), ETag from a previous request to the same
endpoint
:returns: generator of :class:`Repository <github3.repos.Repository>`
objects'

@requires_auth
def repositories(self, number=(-1), etag=None):

    headers = {u'Accept': u'application/vnd.github.ironman-preview+json'}
    url = self._build_url(u'repos', base_url=self._api)
    return self._iter(int(number), url, Repository, etag=etag, headers=headers)
