request to github api (work in progress)