maguowei/starred

github3.py -> graphql api

maguowei opened this issue · 2 comments

github3.py -> graphql api
{
  viewer {
    login
    starredRepositories(first: 100) {
      totalCount
      nodes {
        name
        stargazerCount
        url
        forkCount
        languages(first: 1, orderBy: {field: SIZE, direction: DESC}) {
          edges {
            node {
              id
              name
            }
          }
        }
        nameWithOwner
        pushedAt
        releases(orderBy: {field: CREATED_AT, direction: ASC}, last: 1) {
          edges {
            node {
              name
              tagName
              createdAt
              updatedAt
              url
            }
          }
        }
        updatedAt
      }
      pageInfo {
        endCursor
        hasNextPage
      }
    }
  }
}