[feature_request] Add language data under user object in the GraphQL API #36108
Unanswered
rickstaa
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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. Allowing users to fetch the user language data directly under the user object 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.Related to: #18230
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"}Beta Was this translation helpful? Give feedback.
All reactions