aboutsummaryrefslogtreecommitdiffstats
path: root/docs/issues.rst
blob: 26faf820f3f9cf494c3209876ff0d866f70213e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.. _Issues service:

Issues services
===============

**Fast sample**::

    from pygithub3 import Github

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

    octocat_issues = gh.issues.list()
    octocat_repo_issues = gh.issues.list_by_repo('octocat', 'Hello-World')

Issues
-----

.. autoclass:: pygithub3.services.issues.Issue
    :members:

    .. attribute:: comments

        :ref:`Comments service`

    .. attribute:: events

        :ref:`Events service`

.. _Comments service:

Comments
----------

.. autoclass:: pygithub3.services.issues.Comments
    :members:

.. _ Events service:

Events
-------

.. autoclass:: pygithub3.services.issues.Comments
    :members:

.. _github issues doc: http://developer.github.com/v3/issues
.. _github comments doc: http://developer.github.com/v3/issues/comments