title: How to get data from all pages in Github API with Python?
body: <p>I'm trying to export a repo list and it always returns me information about the 1rst page. I could extend the number of items per page using URL+"?per_page=100" but it's not enough to get the whole list.
  I need to know how can I get the list extracting data from page 1, 2,...,N.
  I'm using Requests module, like this:</p>
  
  <pre><code>while i &lt;= 2:
        r = requests.get('https://api.github.com/orgs/xxxxxxx/repos?page{0}&amp;per_page=100'.format(i), auth=('My_user', 'My_passwd'))
        repo = r.json()
        j = 0
        while j &lt; len(repo):
              print repo[j][u'full_name']
              j = j+1
        i = i + 1
  </code></pre>
  
  <p>I use that while condition 'cause I know there are 2 pages, and I try to increase it in that waym but It doesn't work</p>