get repository results in batches
Merge pull request #9 from adityamenon/master

get repository results in batches