aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-05-27 21:27:14 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-05-27 21:35:19 +0200
commit4c63c55de6fa6e821ded49a9aa4c45007d62447c (patch)
treef4ead6a5096f2480c463db4c3332e724cfb37475 /docs
parentMerged pull request #5 from stefanor:services/orgs (diff)
downloadpython-github3-4c63c55de6fa6e821ded49a9aa4c45007d62447c.tar.xz
python-github3-4c63c55de6fa6e821ded49a9aa4c45007d62447c.zip
Little fixs
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 71fa690..6e1abca 100644
--- a/docs/services.rst
+++ b/docs/services.rst
@@ -72,5 +72,6 @@ List of services
users
repos
gists
+ orgs
.. _mimetypes: http://developer.github.com/v3/mime