Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active April 2, 2023 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dacr/fff4220ef604a6ac9ccc0e06bd9c9901 to your computer and use it in GitHub Desktop.
Save dacr/fff4220ef604a6ac9ccc0e06bd9c9901 to your computer and use it in GitHub Desktop.
get current user github information / published by https://github.com/dacr/code-examples-manager #985a99ba-80fb-41fc-8373-aa605cc0b5bc/567167092e07b3bf1818567099ebb4a89777c089
## summary : get current user github information
## keywords : gitlab, userinfo, graphql
## publish : gist
## authors : David Crosson
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
## id : 985a99ba-80fb-41fc-8373-aa605cc0b5bc
## created-on : 2021-04-19T15:15:59Z
## managed-by : https://github.com/dacr/code-examples-manager
# schema specs => https://docs.github.com/public/schema.docs.graphql
{
viewer {
name
email
createdAt
followers {totalCount}
following {totalCount}
starredRepositories {totalCount}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment