Skip to content

Instantly share code, notes, and snippets.

@larapollehn
Last active June 30, 2020 18:36
Show Gist options
  • Select an option

  • Save larapollehn/e214514c1bb3f36c964f2ea215298427 to your computer and use it in GitHub Desktop.

Select an option

Save larapollehn/e214514c1bb3f36c964f2ea215298427 to your computer and use it in GitHub Desktop.
GitHub graphql api - get pinned repo data
{
repositoryOwner(login: "larapollehn") {
... on ProfileOwner {
pinnedItemsRemaining
itemShowcase {
items(first: 5) {
totalCount
edges {
node {
... on RepositoryInfo{
homepageUrl
}
... on Repository {
name
description
url
languages(first:3) {
totalCount
edges {
node {
name
}
}
}
... on RepositoryInfo{
homepageUrl
}
}
}
}
}
hasPinnedItems
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment