Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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.
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