Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github stats showing commits of current year only. #60

Open
jugshaurya opened this issue May 2, 2021 · 5 comments
Open

github stats showing commits of current year only. #60

jugshaurya opened this issue May 2, 2021 · 5 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers hacktoberfest Hacktoberfest counted help wanted Extra attention is needed Important

Comments

@jugshaurya
Copy link
Owner

Please show the stats from the start of journey on github

@jugshaurya jugshaurya self-assigned this May 2, 2021
@jugshaurya jugshaurya added the bug Something isn't working label May 2, 2021
@jugshaurya jugshaurya pinned this issue May 2, 2021
@jugshaurya jugshaurya added good first issue Good for newcomers hacktoberfest Hacktoberfest counted help wanted Extra attention is needed Important labels Oct 25, 2021
@jugshaurya
Copy link
Owner Author

Screenshot_20220504-185610
Screenshot_20220504-185545

@jugshaurya
Copy link
Owner Author

Github only allows fetching for 1 yr . Use loop to get 1 yr diff dates from starting day, and use it to call apo that many times, in the end add results and send back to client.

@jugshaurya
Copy link
Owner Author

https://github.com/jugshaurya/productive-weekday/blob/master/visuald3server/api/getGithubStats.js

Add code here

@jugshaurya
Copy link
Owner Author

https://api.github.com/search/commits?q=author:jugshaurya

Alternatively can use rest api github to fetch all commit count

@jugshaurya
Copy link
Owner Author

Screenshot_20220504-211213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers hacktoberfest Hacktoberfest counted help wanted Extra attention is needed Important
Projects
None yet
Development

No branches or pull requests

1 participant