Created
June 16, 2013 21:10
-
-
Save imsickofmaps/5793455 to your computer and use it in GitHub Desktop.
Github list issues from API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests, pprint, json | |
ORG = "imsickofmaps" | |
repo = "simplestorymaker" | |
GH_TOKEN = "token" | |
r = requests.get('https://api.github.com/repos/%s/%s/issues' % (ORG, repo), headers={'Authorization': 'bearer %s' % GH_TOKEN}) | |
pprint.pprint(json.loads(r.text)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment