aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-05-27 21:39:03 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-05-27 21:39:31 +0200
commitac2b75a6527e8ce916b7675dac247d37276a3aa2 (patch)
tree4a3ead072bcdee6f17fdac88e836f30ad435fd7f /docs
parentMerge pull request #11 from dsc/patch-1 (diff)
parentAuthors updated (diff)
downloadpython-github3-ac2b75a6527e8ce916b7675dac247d37276a3aa2.tar.xz
python-github3-ac2b75a6527e8ce916b7675dac247d37276a3aa2.zip
Merge 'services/orgs'
Diffstat (limited to 'docs')
-rw-r--r--docs/orgs.rst46
-rw-r--r--docs/services.rst1
2 files changed, 47 insertions, 0 deletions
diff --git a/docs/orgs.rst b/docs/orgs.rst
new file mode 100644
index 0000000..96e7a73
--- /dev/null
+++ b/docs/orgs.rst
@@ -0,0 +1,46 @@
+.. _Orgs service:
+
+Orgs services
+==============
+
+**Fast sample**::
+
+ from pygithub3 import Github
+
+ gh = Github(token='abc123')
+
+ auth_orgs = gh.orgs.list().all()
+ members = gh.orgs.members.list('github')
+
+Org
+------
+
+.. autoclass:: pygithub3.services.orgs.Org
+ :members:
+
+ .. attribute:: members
+
+ :ref:`Members service`
+
+ .. attribute:: teams
+
+ :ref:`Teams service`
+
+.. _Members service:
+
+Members
+---------
+
+.. autoclass:: pygithub3.services.orgs.members.Members
+ :members:
+
+.. _Teams service:
+
+Teams
+-------
+
+.. autoclass:: pygithub3.services.orgs.teams.Teams
+ :members:
+
+.. _github orgs doc: http://developer.github.com/v3/orgs
+.. _github orgs teams doc: http://developer.github.com/v3/orgs/teams
diff --git a/docs/services.rst b/docs/services.rst
index 190ae99..f7de042 100644
--- a/docs/services.rst
+++ b/docs/services.rst
@@ -74,5 +74,6 @@ List of services
gists
git_data
pull_requests
+ orgs
.. _mimetypes: http://developer.github.com/v3/mime