Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Latest commit

 

History

History
60 lines (38 loc) · 909 Bytes

users.rst

File metadata and controls

60 lines (38 loc) · 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

pygithub3.services.users.User

emails

Emails service

keys

Keys service

followers

Followers service

Emails

pygithub3.services.users.Emails

Keys

pygithub3.services.users.Keys

Followers

pygithub3.services.users.Followers