mirror of
https://github.com/kennethreitz/gistapi.py.git
synced 2026-06-05 23:10:17 +00:00
documentation update
This commit is contained in:
+8
-8
@@ -7,15 +7,15 @@ http://develop.github.com/p/gist.html
|
||||
|
||||
Example Usage
|
||||
-------------
|
||||
from gistapi import *
|
||||
gist = Gist('d4507e882a07ac6f9f92')
|
||||
gist.description # 'Example Gist for gist.py'
|
||||
gist.created_at # '2010/05/16 10:51:15 -0700'
|
||||
gist.public # False
|
||||
gist.filenames # ['exampleEmptyFile', 'exampleFile']
|
||||
gist.files # {'exampleFile': 'Example file content.', 'exampleEmptyFile': ''}
|
||||
from gistapi import *
|
||||
gist = Gist('d4507e882a07ac6f9f92')
|
||||
gist.description # 'Example Gist for gist.py'
|
||||
gist.created_at # '2010/05/16 10:51:15 -0700'
|
||||
gist.public # False
|
||||
gist.filenames # ['exampleEmptyFile', 'exampleFile']
|
||||
gist.files # {'exampleFile': 'Example file content.', 'exampleEmptyFile': ''}
|
||||
|
||||
Gists.fetch_by_user('kennethreitz')[-1].description # 'My .bashrc configuration'
|
||||
Gists.fetch_by_user('kennethreitz')[-1].description # 'My .bashrc configuration'
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Reference in New Issue
Block a user