octokit.rest

Get the hourly commit count for each day

Each array contains the day number, hour number, and number of commits:

For example, [2, 14, 25] indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.

Parameters

string The token will be passed in the authorization header.

string

string

Request

GET https://api.github.com/repos///stats/punch_card
authorization: bearer undefined
accept: application/vnd.github.v3+json
user-agent: octokit.rest


Example Response

Status: 200
[
  [
    0,
    0,
    5
  ],
  [
    0,
    1,
    43
  ],
  [
    0,
    2,
    21
  ]
]

See documentation on GitHub developer guides