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

✨ Add complete streak stats and fix #139 #145

Closed
wants to merge 5 commits into from

Conversation

franznkemaka
Copy link

@franznkemaka franznkemaka commented Dec 16, 2021

Hi @IonicaBizau,

I created a rest API that uses GitHub GraphQL to fetch all the user's calendars from their creation date. It computes the total contributions and the REAL longest streak + current streak.

For better performances, the API caches the result of previous years: because the 2012 calendar of a user is less likely to change in 2021.

More on the API here:
https://github.com/franznkemaka/github-streak-api

Fixes: #139

So I implemented the API in the library. Have a look at it and let me know. It was well tested, here is an example:

Screenshot 2021-12-16 at 23 24 09

Fetches the entire user streak stats via API
@franznkemaka franznkemaka changed the title ✨ Add complete streak stats and fixes https://github.com/Bloggify/github-calendar/issues/139 ✨ Add complete streak stats and fixes #139 Dec 16, 2021
@franznkemaka franznkemaka changed the title ✨ Add complete streak stats and fixes #139 ✨ Add complete streak stats and fix #139 Dec 16, 2021
@franznkemaka
Copy link
Author

both branches diverted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Current streak and longest streak stuck at 369 days
1 participant