ChicoState / ChicoState/chronicle

Fetch Lines added and deleted using commits api

Open
#7 1 comment 0 reactions 1 assignee Claimed by @aaditi2 View on GitHub
Dominant language
HTML
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The API I used is not fetching lines added and deleted.
There is a similar API for commits in the GitHub api documentation: https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28

Screenshot 2024-02-23 at 3 42 44 PM
If you can go through this page I believe you will find an api that looks like: await octokit.request('GET /repos/{owner}/{repo}/commits/{ref}'.
I believe we can fetch the lines added and deleted using this but we have to figure out the {ref} part in the api.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.