2011-03-31 05:28:41 -04:00
2011-03-31 05:28:41 -04:00
2011-03-31 05:17:16 -04:00
2011-01-10 13:02:40 -05:00
2011-03-31 05:21:47 -04:00
2011-01-10 13:02:47 -05:00
2010-05-16 15:18:47 -04:00
2011-03-31 04:40:03 -04:00
2011-03-31 05:21:47 -04:00
2011-03-31 05:03:34 -04:00
2011-03-31 05:19:30 -04:00

GistAPI.py
==========

This is a Python wrapper for GitHub's Gist API.

http://develop.github.com/p/gist.html

Example Usage
-------------

::

    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'
    
    


Installation
------------

	pip install gistapi
	
Or, if you must: 

	easy_install gistapi

Roadmap
-------

* Implement Gist API methods as they are introduced
* Possibly use other hacks in the meantime
	- Gist's New Gist method? (Post to web form?)
* Possibly add command line gist interface

S
Description
No description provided
Readme MIT 655 KiB
Languages
Python 100%