Switch to github api