[feature_request] GraphQL fetch user language information #18230
Replies: 55 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! |
Beta Was this translation helpful? Give feedback.
-
I agree that this should be a feature. |
Beta Was this translation helpful? Give feedback.
-
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/ |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
@Eminentzeal, please look at issue anuraghazra/github-readme-stats#1! |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
This would be super useful |
Beta Was this translation helpful? Give feedback.
-
This should, indeed, be a feature. |
Beta Was this translation helpful? Give feedback.
-
Forks are as important for GH as own repos, so definitely should be a thing. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
+1, this would be a super handy addition. |
Beta Was this translation helpful? Give feedback.
-
support this! 👍 |
Beta Was this translation helpful? Give feedback.
-
Really need this 👍 |
Beta Was this translation helpful? Give feedback.
-
+1 I need this feature too. |
Beta Was this translation helpful? Give feedback.
-
As the one who mostly contribute into organization's / another user's repos, I would really appreciate to have this feature |
Beta Was this translation helpful? Give feedback.
-
+1, support this! 👍 |
Beta Was this translation helpful? Give feedback.
-
+1 coming from anuraghazra/github-readme-stats! 👍 |
Beta Was this translation helpful? Give feedback.
-
There is currently no way to fetch the languages a specific user uses. The current
repositories/languages
object 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
This will return the language stats per repository.
New behaviour
Maybe an attribute like
isUser: true
could be added for fetching user-specific language information.New graphQL query:
New GraphQL variables
Beta Was this translation helpful? Give feedback.
All reactions