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

Latest commit

 

History

History
37 lines (23 loc) · 683 Bytes

gists.rst

File metadata and controls

37 lines (23 loc) · 683 Bytes

Gists services

Fast sample:

from pygithub3 import Github

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

octocat_gists = gh.gists.list()
the_first_gist = gh.gists.get(1)

the_first_gist_comments = gh.gists.comments.list(1)

Gist

.. autoclass:: pygithub3.services.gists.Gist
    :members:

    .. attribute:: comments

        :ref:`Comments service`

Comments

.. autoclass:: pygithub3.services.gists.Comments
    :members: