I developing a web service which uses some Github info. I need to get a list of files which changed with a commit. I found a list of libraries. I tried all 3 Java libraries and github3.py. And all these libraries returns me a commit info with an empy list of affected files(or null for Java libs). The code for getting list of affected files is really easy so I have no idea why it happens.
from github3 import login, repository
repo = repository('sigmavirus24', 'github3.py')
commits = repo.iter_commits()
for commit in commits:
print len(commit.files) #prints 0
UPD: How I can get a list of files changed by specific commit?