All Questions
1 question
0
votes
1
answer
391
views
How to get number of lines of code of a file in a remote repo using PyGithub/ Githubsearch api?
commit = repo.get_commit(sha="0adf369fda5c2d4231881d66e3bc0bd12fb86c9a")
print(commit.stats.total)
i = commit.files[0].filename
I can get the filename, even the file sha; but can't seem to ...