repos
Get the weekly commit activity
Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
[!NOTE] This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains 10,000 or more commits, a 422 status code will be returned.
get/repos/{owner}/{repo}/stats/code_frequency
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
Response
Returns a weekly aggregate of the number of additions and deletions pushed to a repository.