Example #1
0
    def handle(self, *args, **options):
        # print "YOOOO"

        user = {
            'id': 1,
            'access_token': settings.GITHUB_TEST_KEY,
            'username': '******',
        }

        github_job = GithubCodeActivityJob(datetime.datetime.now(), 3)
        # github_job.get_commits_for_repo_and_user(user, 'phouse512/piper', 10)

        github_job.get_single_history(user)