From 61c438619634c80a9fb5579beb0a6609eaf00f2d Mon Sep 17 00:00:00 2001 From: Conor Branagan Date: Wed, 11 Apr 2012 17:11:08 -0400 Subject: Add issues service for issues, comments and events. has tests and updated docs --- docs/issues.rst | 47 +++++++++++++++++++++++++++++++++++++++++++++++ docs/services.rst | 1 + 2 files changed, 48 insertions(+) create mode 100644 docs/issues.rst (limited to 'docs') diff --git a/docs/issues.rst b/docs/issues.rst new file mode 100644 index 0000000..26faf82 --- /dev/null +++ b/docs/issues.rst @@ -0,0 +1,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 \ No newline at end of file diff --git a/docs/services.rst b/docs/services.rst index 190ae99..2f268bb 100644 --- a/docs/services.rst +++ b/docs/services.rst @@ -74,5 +74,6 @@ List of services gists git_data pull_requests + issues .. _mimetypes: http://developer.github.com/v3/mime -- cgit v1.2.3-59-g8ed1b