Get github current streak which support only public repositories.
If available in Hex, the package can be installed as:
-
Add current_streak_ex to your list of dependencies in
mix.exs
:def deps do [{:current_streak_ex, "~> 0.1.1"}] end
iex> CurrentStreakEx.contributions("KazuCocoa") |> CurrentStreakEx.current_streak
4
iex> CurrentStreakEx.contributions("KazuCocoa") |> CurrentStreakEx.latest_streak_day
"2016-01-30"
MIT