Recently had a fun project idea and wanted to utilize the GitHub API, so I searched around for a Python wrapper. On the GitHub libraries page I found github3.py
After looking at their docs
I get an error saying AttributeError: 'GitHub' object has no attribute 'me', from this code example
from github3 import login
gh = login('sigmavirus24', password='<password>')
sigmavirus24 = gh.me()
# <User [sigmavirus24:Ian Cordasco]>
print(sigmavirus24.name)
# Ian Cordasco
print(sigmavirus24.login)
# sigmavirus24
print(sigmavirus24.followers_count)
# 4`
Is there something I'm missing from the documentation? Or have the docs just not been updated?
How do I fix this problem? I tried running dir(gh) to view attributes of the login object, but that's not telling me much, and have tried using Python 2.7.11, and Python 3.4.3.
from github3 import login, Github.Githubclass in their code, so importing it won't do anything.GitHub, doesn't do anything.import github3; print(github3.__version__)?