Get repos for user from the Github API
- Owner: Glaurung
- Difficulty: Medium
- Type: Feature
- Asigned to: Me
- Date Created: 4-March-2017
- Priority: Blocker
- Status: New
- Resolution: Unresolved
We're creating a tool to allow us to peak in someone's github profile, we want to see what type of work they have been doing. One of the interns finished the basic HTML and CSS from the design given, now is missing to add the API integration.
For the initial version, hardcode your own username there.
For extra points, remove the
hidden class in the search form
and make it so that we can search for any username.
Include other information from the repos in the list.
Feel free to make design improvements where you consider appropiate.
Github has a public endpoint where you can find the repos for a given user, the url
is the following
For example https://api.github.com/users/code-corgi/repo will display a list of all our public repos.
Add JavasScript code to make a request to that endpoint, then use that
information to create
.repo elements that display it, using the given
- Should work in any size, responsive
- You could use any JS framework or library, but vanillaJs is preferred
- It only needs to work in the latest version of Chrome, no need to check on older browsers. So feel free to use modern APIs.
When you're done, push to your repo and submit your answer.
To solve this, the following is recommended:
- Github account, and basic git skills
Look at our help section for more information about this.
To create your answer follow this steps:
Troubleshooting | Help
If you have need clarification with the project, files, or description, open an issue on github.
For questions with the platform, email us at [email protected]
For help with github or coding, consult our Learning and Resources page, where you will find information and links to tutorials and other content.