-
-
Save djalmabright/64e29b273acc446adfaaf07ce3d9a06c to your computer and use it in GitHub Desktop.
Consulta GraphQL que busca estatísticas do projeto Express: o número de stars, de pull requests abertos, de issues abertas, a data da última release e informações do último commit.
This file contains 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
query { | |
repository(owner:"expressjs", name: "express") { | |
stargazers { | |
totalCount | |
} | |
pullRequests(states: OPEN) { | |
totalCount | |
} | |
issues(states:OPEN) { | |
totalCount | |
} | |
releases(last: 1) { | |
nodes { | |
name | |
publishedAt | |
} | |
} | |
refs(first: 1, refPrefix:"refs/heads/") { | |
nodes { | |
target { | |
... on Commit { | |
committer { | |
user { | |
login | |
} | |
} | |
message | |
committedDate | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment