of an github.com account.
$ github_manage_collaborators --login company --apitoken 02...66 list
huSoftM: hudora mdornseif cklein
huTools: hudora cklein
pyJasper: hudora
$ github_manage_collaborators --login company --apitoken 02...66 add nerxs
added 'nerxs' to 'huSoftM'
added 'nerxs' to 'huTools'
added 'nerxs' to 'pyJasper'
$ github_manage_collaborators --login company --apitoken 02...66 remove nerxs
removed 'nerxs' from 'huSoftM'
removed 'nerxs' from 'huTools'
removed 'nerxs' from 'pyJasper'
$ github_manage_collaborators --login company --apitoken 02...66 list
huSoftM: hudora mdornseif cklein nerxs
huTools: hudora cklein nerxs
pyJasper: hudora nerxs
Use it only on workstations where you are the single user, because the `ps`
command would reveal your secret API-token to everybody on the host
running `github_manage_collaborators`.
Date: Thu Dec 31 18:42:07 2009 +0100
Add authentiation for GET requests.
This for example allows you to list private repositories:
>>> from github2.client import Github
>>> github = Github(username="company", api_token="2e66a5c7e24d1d066230f368ce8b094e")
>>> repos = github.repos.list("company")
`repos` now contains a list of public and private repositories of "company".