github_api_project_commits | R Documentation |
Download Commits from "GET /repos/owner/repo/commits" endpoint. Differently from parsing commits by git cloning the repository, this JSON provides the GitHub user id, which allows for linking file changes and issue events by the same author without relying on identity matching heuristics.
github_api_project_commits(owner, repo, token)
owner |
GitHub's repository owner (e.g. sailuh) |
repo |
GitHub's repository name (e.g. kaiaulu) |
token |
Your GitHub API token |
For details, see https://docs.github.com/en/rest/reference/repos#commits.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.