Skip to content

Get the line of code committed in each language by a user #24510

Discussion options

You must be logged in to vote
termjobTest:

But performance-wise I am feeling which is a bad one. Also, Git Api allows only 5000 hits per hour for an authenticated user. Could anyone please suggest any better option for the same.

👋 welcome to the GitHub Support Community, @termjobTest ! Thanks for asking your question here.

As far as I’m aware, there’s not one particular endpoint nor is there a set of endpoints beyond what you mentioned that would give you the lines of code committed (added or deleted) per user. While you could use the GitHub API to collect that information, you can obtain the same information by cloning the repository and using git's built-in commands to compute the data that you’re looking for. …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment