Created
February 11, 2016 03:35
-
-
Save jeremycg/4f27bd9539a4f4cc05e8 to your computer and use it in GitHub Desktop.
github api
This file contains hidden or 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
#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