documentation update

This commit is contained in:
Kenneth Reitz
2010-05-16 16:14:37 -04:00
parent b775442460
commit d2c67f4bbf
+8 -8
View File
@@ -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
------------