This is a Python wrapper for GitHub's Gist API.
http://develop.github.com/p/gist.html
::
from gistapi import Gist, Gists
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': ''}
gist.comments[0].body # Test Comment.
Gists.fetch_by_user('kennethreitz')[-1].description # 'My .bashrc configuration'
pip install gistapi
Or, if you must:
easy_install gistapi