octokit.rest

Get the weekly commit activity

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

Parameters

string The token will be passed in the authorization header.

string

string

Request

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


Example Response

Status: 200
[
  [
    1302998400,
    1124,
    -435
  ]
]

See documentation on GitHub developer guides