Created
December 4, 2019 17:02
-
-
Save jtwebman/1c71f40a6e67d4b91c611b8ce005663c to your computer and use it in GitHub Desktop.
Github API V4 GraphQL Query For Users Repo Language Count
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
user(login: "jtwebman") { | |
repositories(isFork: false, privacy: PUBLIC, ownerAffiliations: [OWNER], first: 100, orderBy: {field: NAME, direction: ASC}) { | |
totalCount | |
nodes { | |
name | |
owner { | |
login | |
} | |
languages(first: 100, orderBy: {field: SIZE, direction: DESC}) { | |
totalCount | |
edges { | |
size | |
node { | |
name | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment