#2: modified github api method to directly query repos