Added exception handling around the request in the event that requests throws an exception and added a chunk size
Added generic exception handling to api request
Added comment on what CHUNK value sets
Removed duplicate code functionality. Also changed request retries to not use recursion for ease of debugging
Merge pull request #5 from Brett-S/master

Added chunking and put some exception handling around the requests.