title: GitHub API v4: How can I traverse with pagination? (GraphQL)
body: <p>I'm using Github API v4 to run search query.</p>
  
  <p>From the API documentation I can understand that the following query gives me pageInfo but I don't know how to use it to traverse.</p>
  
  <pre><code>query {
    search(first: 100, type:USER, query:"location:usa repos:&gt;0 language:java") {
      pageInfo {
        startCursor
        hasNextPage
        endCursor
      }
      userCount
      nodes {
          ... on User {
          bio
          company
          email
          id
          isBountyHunter
          isCampusExpert
          isDeveloperProgramMember
          isEmployee
          isHireable
          isSiteAdmin
          isViewer
          location
          login
          name
          url
          websiteUrl
        }
      }
    }
  }
  </code></pre>
  
  <p>And response is:</p>
  
  <pre><code>{
      "data": {
          "search": {
              "pageInfo": {
                  "startCursor": "Y3Vyc29yOjE=",
                  "hasNextPage": true,
                  "endCursor": "Y3Vyc29yOjEwMA=="
              },
      ...
  }
  </code></pre>