Gistapi.py
Python wrapper for GitHub's Gist API
Install / Use
/learn @kennethreitz/Gistapi.pyREADME
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
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
