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/gists.rst at develop · mpdaugherty/python-github3

Expand file tree

/

gists.rst

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
37 lines (23 loc) · 683 Bytes
/

gists.rst

Copy path

File metadata and controls

37 lines (23 loc) · 683 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

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:

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.