github_contributions.GithubContributions

class github_contributions.contributions.GithubContributions(soup=None, days=None)

Represents a set of contributions performed by a GithubUser

streaks()

Produces a list of streaks within the days known by the contributions object

Returns:the list of streaks
Return type:list[list[Day]]
today()

Returns the contribution day object for the current date.

Returns:the current day.
Return type:Day
class github_contributions.contributions.Day

Data container object for contribution data of a given day.

date

Date associated with the day

count

Number of contributions done by the user on this day

level

“Contribution level” of the day.

Corresponds to the color displayed in the contribution graph. Has a value between 0 and 4 (inclusive)