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.
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: https://github.com/Bloggify/github-calendar/issues/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: