Using GitHub v3 API

GitHub API v2 was switched off a couple of days ago.