Using OAuth and the GitHub API, allow people to log into GitHub and get a list of their repositories.
After completing this assignment, you should understand:
- The basics of OAuth
- A Git repo called github-api containing at least:
README.md
file explaining how to run your project- a
requirements.txt
file - a suite of tests for your project
- Passing unit tests
- No PEP8 or Pyflakes warnings or errors
First, go to the applications section of your GitHub preferences and register a new application. The callback URL should be a URL you will create for logging in users via GitHub. /login/github/authorized
is recommended if you don't have a preference.
Using either Flask-OAuthlib or Flask-Dance, write an application that lets a user log in via GitHub and shows all their repositories.
In addition to the requirements from Normal Mode:
- Add pagination to allow seeing repositories in groups of 30.
- Add the ability to change a repo's description.