URL: http://developer.github.com/
よくわからないけどこれみて予習
URL: http://stackoverflow.com/questions/10625190/most-suitable-python-library-for-github-api-v3
バグ修正して書いた。
・github.py
import requests import json r = requests.get('https://api.github.com/repos/django/django') if r.ok: repoItem = json.loads(r.text or r.content) print "Django repository created: " + repoItem['created_at']
・実行
python github.py
・結果
Django repository created: 2012-04-28T02:47:18Z