Skip to content

Instantly share code, notes, and snippets.

@imsickofmaps
Created June 16, 2013 21:10
Show Gist options
  • Save imsickofmaps/5793455 to your computer and use it in GitHub Desktop.
Save imsickofmaps/5793455 to your computer and use it in GitHub Desktop.
Github list issues from API
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