This API should be the first step: https://developer.github.com/v3/issues/#list-issues-for-a-repository