A Python script that calculates a GitHub Streak
The script uses the GitHub Api to search for recent user activity. If the user is continually contributing the days are counted, this is called a GitHub Streak. If you stop for 24 hours your start again.
Currently, only commits are counted as activity.
- Clone the repo.
- Enter the API Token or Login to
login.yaml
. Seeexample.login.yaml
as example. - Run the
main.py
file, which returns the Streak as an integer.