4

I looked through the github API docs and couldn't find an answer.

Does github expose linguist information via any API endpoints?

I'm looking to get languages associated with a repo, as detected by linguist.

Hooked
  • 84,485
  • 43
  • 192
  • 261
mjgpy3
  • 8,597
  • 5
  • 30
  • 51

1 Answers1

0

GitHub exposes the language breakdown as computed by Linguist via the API: https://developer.github.com/v3/repos/#list-languages

GET /repos/:owner/:repo/languages
----
{
  "C": 78769,
  "Python": 7769
}
pchaigno
  • 11,313
  • 2
  • 29
  • 54