Skip to content

Commit 878a2fa

Browse files
committed
Added create_gist() example to readme
1 parent 86da17c commit 878a2fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ Usage
1818

1919
gh.get_repo('kennethreitz', 'python-github3')
2020

21+
me = gh.get_me()
2122

23+
me.create_gist(u'Description',
24+
files={'file1.txt': {'content': u'Content of first file'}})
2225

2326

2427

0 commit comments

Comments
 (0)