GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-github3/docs/users.rst at master · Diamond192/python-github3

Expand file tree

/

users.rst

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
60 lines (38 loc) · 909 Bytes
/

users.rst

Copy path

File metadata and controls

60 lines (38 loc) · 909 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

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

.. autoclass:: pygithub3.services.users.User
    :members:

    .. attribute:: emails

        :ref:`Emails service`
    .. attribute:: keys

        :ref:`Keys service`
    .. attribute:: followers

        :ref:`Followers service`

Emails

.. autoclass:: pygithub3.services.users.Emails
    :members:

Keys

.. autoclass:: pygithub3.services.users.Keys
    :members:

Followers

.. autoclass:: pygithub3.services.users.Followers
    :members:
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.