{"action":"opened","issue":{"url":"https://api.github.com/repos/Brightergy/ex_gecko/issues/16","repository_url":"https://api.github.com/repos/Brightergy/ex_gecko","labels_url":"https://api.github.com/repos/Brightergy/ex_gecko/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Brightergy/ex_gecko/issues/16/comments","events_url":"https://api.github.com/repos/Brightergy/ex_gecko/issues/16/events","html_url":"https://github.com/Brightergy/ex_gecko/issues/16","id":181451624,"number":16,"title":"Batch the requests when number of events exceed 500","user":{"login":"techgaun","id":1886670,"avatar_url":"https://avatars.githubusercontent.com/u/1886670?v=3","gravatar_id":"","url":"https://api.github.com/users/techgaun","html_url":"https://github.com/techgaun","followers_url":"https://api.github.com/users/techgaun/followers","following_url":"https://api.github.com/users/techgaun/following{/other_user}","gists_url":"https://api.github.com/users/techgaun/gists{/gist_id}","starred_url":"https://api.github.com/users/techgaun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techgaun/subscriptions","organizations_url":"https://api.github.com/users/techgaun/orgs","repos_url":"https://api.github.com/users/techgaun/repos","events_url":"https://api.github.com/users/techgaun/events{/privacy}","received_events_url":"https://api.github.com/users/techgaun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-06T15:41:35Z","updated_at":"2016-10-06T15:41:35Z","closed_at":null,"body":"Total dataset size is 5000. So, what we could do is check the size of events, truncate to 5000 and then divide that into chunks of 500 and send request so that we can have all the chunks."}}
{"actor":{"display_login":"techgaun"}}