diff options
| author | 2012-04-04 00:07:50 +0200 | |
|---|---|---|
| committer | 2012-04-04 00:07:50 +0200 | |
| commit | 3e551e6801a0031f1482ad5d9f30af9df78e9471 (patch) | |
| tree | 9d28cc75691279ff75f079cd4e085e77241517af /docs/services.rst | |
| parent | :sparkles: Relase 0.2 :sparkles: (diff) | |
| parent | Fix bug (diff) | |
| download | python-github3-3e551e6801a0031f1482ad5d9f30af9df78e9471.tar.xz python-github3-3e551e6801a0031f1482ad5d9f30af9df78e9471.zip | |
Gists service done
Diffstat (limited to 'docs/services.rst')
| -rw-r--r-- | docs/services.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/services.rst b/docs/services.rst index a0fd894..71fa690 100644 --- a/docs/services.rst +++ b/docs/services.rst @@ -53,6 +53,16 @@ attributes or all of them. .. autoclass:: pygithub3.services.base.MimeTypeMixin :members: +**Fast example**:: + + from pygithub3 import Github + + gh = Github() + + gh.gists.comments.set_html() + comment = gh.gists.comments.list(1).all()[0] + print comment.body, comment.body_text, comment.body_html + List of services ------------------- @@ -61,5 +71,6 @@ List of services users repos + gists .. _mimetypes: http://developer.github.com/v3/mime |
