Python script to retrieve large quantities of information from Loggly via its API