Skip to content

Instantly share code, notes, and snippets.

@marklap
Created March 5, 2015 16:44
Show Gist options
  • Save marklap/f8499c140413ba01a0a5 to your computer and use it in GitHub Desktop.
Save marklap/f8499c140413ba01a0a5 to your computer and use it in GitHub Desktop.
Generic python class for iterating over paged results (typically seen in REST APIs)
import os
import sys
# TODO: make it work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment