Going by the documentation, I thought this would print out a list of all my repositories:
cnt = 0
for repo in g.get_user("manifoldsquid").get_repos():
cnt += 1
print(str(cnt) + " :" + repo.name)
But it only prints the names of the first 30 repos. (I created 33 for this account.) I can set g.per_page to 100 and get all the repos printed, but I was wondering what the right way to do this was -- if i had more than 100 repos, I'd be back in the same situation.
Thanks, and apologies if this is a dumb question; I'm new to this.
Going by the documentation, I thought this would print out a list of all my repositories:
But it only prints the names of the first 30 repos. (I created 33 for this account.) I can set g.per_page to 100 and get all the repos printed, but I was wondering what the right way to do this was -- if i had more than 100 repos, I'd be back in the same situation.
Thanks, and apologies if this is a dumb question; I'm new to this.