Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (38 sloc) 909 Bytes

Users services

Fast sample:

from pygithub3 import Github

auth = dict(login='octocat', password='pass')
gh = Github(**auth)

# Get copitux user
gh.users.get('copitux')

# Get copitux's followers
gh.users.followers.list('copitux')

# Get octocat's emails
gh.users.emails.list()

User

Emails

Keys

Followers