Github Graphql
Exploring the github api with graphql
Useful links:
Attempting to get the contents of the README.md
file in each repo:
{
viewer {
repositories(last: 3, isFork: false) {
nodes {
name
description
updatedAt
url
defaultBranchRef{
name
}
object(expression:"master:"){
... on Tree{
entries{
name
object {
... on Blob {
text
}
}
}
}
}
}
totalCount
totalDiskUsage
}
}
}
Share this post
Twitter
Facebook
Reddit
LinkedIn
StumbleUpon
Pinterest
Email