Skip to content

Instantly share code, notes, and snippets.

@jeremycg
Created February 11, 2016 03:35
Show Gist options
  • Save jeremycg/4f27bd9539a4f4cc05e8 to your computer and use it in GitHub Desktop.
Save jeremycg/4f27bd9539a4f4cc05e8 to your computer and use it in GitHub Desktop.
github api
#using pygithub - https://github.com/PyGithub/PyGithub
from github import Github
g = Github("user", "pass")
events = g.get_repo('repo').get_events()
out = []
for event in events:
out.append([event.actor.name, event.created_at, event.type])
out
#filter by date is up to you!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment