aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntti Kaihola <akaihol+github@ambitone.com>2011-11-07 14:46:13 +0200
committerAntti Kaihola <akaihol+github@ambitone.com>2011-11-07 14:46:13 +0200
commit878a2fab086e9569a1ba8f2e6175305b01ced31a (patch)
tree04397a78326732fad90fd68245e9c00b663aacdd
parentAdded akaihola to authors (diff)
downloadpython-github3-878a2fab086e9569a1ba8f2e6175305b01ced31a.tar.xz
python-github3-878a2fab086e9569a1ba8f2e6175305b01ced31a.zip
Added create_gist() example to readme
-rw-r--r--README.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 4e5df72..ab6d9c7 100644
--- a/README.rst
+++ b/README.rst
@@ -18,7 +18,10 @@ Usage
gh.get_repo('kennethreitz', 'python-github3')
+ me = gh.get_me()
+ me.create_gist(u'Description',
+ files={'file1.txt': {'content': u'Content of first file'}})