I am currently developing a Python API Wrapper for the Github API!
SO FAR, it can only get information about Repos, but I plan for it to fully support all the features of the Github API in the future!
You can learn from the examples below and feel free to add to it! If you add to it, please leave a comment and so I can add your additions to pygaw!
If you get a KeyError, possible reasons are:
- Rate Limiting on the API (Authenticate your app!)
- 403 or 404 Errors
I will add support for adding Authentication headers in the future!
Once I have pygaw more developed, I will publish it to PyPi so people can install it instead of putting pygaw's file in their project directory!
How about calling
requests.get(url = URL) once for each endpoint and storing the result on the class?