def query_all_issues(after):
 page = count(1)
 data = []
 while True:
  page_data = query_issues(next(page), after)
  if (not page_data):
   break
  data.extend(page_data)
 return data

def query_all_issues ( after ) : page = count ( 1 ) data = [ ] while True : page_data = query_issues ( next ( page ) , after ) if ( not page_data ) : break data . extend ( page_data ) return data
hits the github api for all closed issues after the given date .