Skip to content

List repository languages

GET
/repos/{owner}/{repo}/languages

Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.

API method documentation

owner
required
string

The account owner of the repository. The name is not case sensitive.

repo
required
string

The name of the repository without the .git extension. The name is not case sensitive.

Response

Media type application/json
Language

Language

object
key
additional properties
integer
Examples
Example default
{
"C": 78769,
"Python": 7769
}