mirror of
https://git.juggalol.com/agatha/gitmon.git
synced 2024-11-22 23:46:42 +00:00
17 lines
236 B
Python
17 lines
236 B
Python
|
"""GitMon"""
|
||
|
from gitmon.api import GitHubApi
|
||
|
|
||
|
|
||
|
def main():
|
||
|
"""Main entry point."""
|
||
|
|
||
|
api = GitHubApi()
|
||
|
|
||
|
events = api.get_events()
|
||
|
for event in events:
|
||
|
print(event['type'])
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
main()
|