In new GitHub GraphQL API, you can use GraphQL Explorer at https://docs.github.com/en/graphql/overview/explorer
to run GraphQL query like
```graphql
query {
repository(owner: "<username>", name: "<reponame>") {
languages(first: 100) {
edges {
node {
name
}
size
}
}
}
}
```
It returns things like
```json
{
"data": {
"repository": {
"languages": {
"edges": [
{
"node": {
"name": "TypeScript"
},
"size": 125962
},
{
"node": {
"name": "Python"
},
"size": 264684
},
{
"node": {
"name": "Rust"
},
"size": 65972
}
]
}
}
}
}
```
In new GitHub GraphQL API, you can use GraphQL Explorer at https://docs.github.com/en/graphql/overview/explorer
to run GraphQL query like
```graphql
query {
repository(owner: "<username>", name: "<reponame>") {
languages(first: 100) {
edges {
node {
name
}
size
}
}
}
}
```
It returns things like
```json
{
"data": {
"repository": {
"languages": {
"edges": [
{
"node": {
"name": "TypeScript"
},
"size": 125962
},
{
"node": {
"name": "Python"
},
"size": 264684
},
{
"node": {
"name": "Rust"
},
"size": 65972
}
]
}
}
}
}
```