Using the HTML/CSS from the previous assignment add javascript needed to load the following:
- Your profile:
https://api.github.com/users/<username> - Your repos:
https://api.github.com/users/<username>/repos
After loading data from the Github API, write at least the following information to the DOM:
- name
- blog
- location
- an
<img>with its source as the avatar_url - html_url
- for each repo owned by your user, list that repo in a
<ul>
Github api has a hard rate limit of 60 per HOUR if the user is unathenticated. Create a Personal Access Token (under personal settings). Then use basic auth where your github username is the username and the token is the password. You can find how to add the header to the ajax call here