I am planning to build a plug-in for Sphinx documentation system plug-in which shows the names and Github profile links of the persons who have contributed to the documentat
Why do you need to use Github API for that? You can just clone the package and use git log:
git log
git log --format=format:%an path/to/file ver1..ver2 |sort |uniq