[feature_request] GraphQL fetch user language information #18230
Replies: 107 comments 7 replies
|
I fully concur with the assessment and feature request: For many purposes the languages a user uses is of interest, not languages used in a repository. This data is currently not accessible via the GraphQL API! |
|
I agree that this should be a feature. |
|
Another nice feature would be an easy way to get the most recent commit date when inside Tree entries: https://www.reddit.com/r/graphql/comments/1338vwr/new_to_graphql_and_trying_to_understand_github/ |
|
I buy this idea because I do a lot of work as a contributor to organizations repository, that shoul reflect on my profile as well |
|
@Eminentzeal, please look at issue anuraghazra/github-readme-stats#1! |
|
👍 Agreed |
|
I agree. I'm just learning to code and fork several projects to do so. After four projects and four months, the languages I used aren't in my top language stats. Any updates? |
|
This would be super useful |
|
This should, indeed, be a feature. |
|
Forks are as important for GH as own repos, so definitely should be a thing. |
|
I cannot agree more; it indeed will reflect more precisely and could allow counting for forks and other behaviours, especially when the repository is company-based and users are just collaborators. |
|
Thumbs up to this. My current stats look like I can only write Python but that is far from the truth as I use a large variety of languages but in company owned orgs. |
|
+1, this would be a super handy addition. |
|
support this! 👍 |
|
Really need this 👍 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There is currently no way to fetch the languages a specific user uses. The current
repositories/languagesobject of the GraphQL API will return the languages of a repository. I think allowing users to filter only the languages used in commits made by their user account would improve the GraphQL API. It would provide users with more accurate Language proficiency information and improve the stats displayed by repositories like github-readme-stats. I'm unsure if this is technically possible given the current GraphQL design and performance requirements and the linguist tool but here is my proposal.Current behaviour
Current graphQL query:
Current GraphQL variables
{"login": "rickstaa"}This will return the language stats per repository.
New behaviour
Maybe an attribute like
isUser: truecould be added for fetching user-specific language information.New graphQL query:
New GraphQL variables
{"login": "rickstaa"}All reactions