How to get GitHub info
1. Your GitHub stats shows 0
After you signed in, you will be navigated to home dashboard screen and then you can see your stats which shows 0.
2. Go to [User Settings]
Go to [User Settings] in the left sidebar or the gear icon beside 'Coding - GitHub'.
Now you can see what GitHub settings are. There are several items below;
- User ID
- User Name
- Repo Owner Name (Repository Owner Name)
- Repo Name (Repository Name)
- Repo Visibility (Repository Visibility)
3. Go to [GitHub Web Site]
3-1. GitHub User Name
After you signed in, you will be navigated to home screen. And you can see your user icon on the top right corner. Click it, then you can see your GitHub user name first.
3-2. GitHub User ID
The easiest way to get a user ID is to call the API from your browser. Set https://api.github.com/users/$userName (Replace $userName with your username) in the URL field of your browser and press Enter. You will get the following result, which will tell you your user ID
3-3. GitHub Repo Name, its Owner Name and its Visibility
Get a name of a repository owner to be aggregated. Go to the [Repository] and on the top left corner, you can see the repository name, its owner name, and its visibility as well.
In this example, the info you get is as follows:
- Repo Owner Name: vercel
- Repo Name: next.js
- Repo Visibility: Public
Regarding visibility, first letter should be capitalized.
4. Go back to [User Settings]
Now that you are all set up, go back to the User Settings screen and set those values.
5. Go to [Home] and then you can see your stats !!
Press the Home button on the left sidebar to jump to the dashboard screen. You should see a tally of your contributions to your given repository.
If it is not tallying well, try reloading it several times. Or, check again to make sure the values you set are correct. If it still does not work, please contact our help desk .