Getting valid json from github api

Used mikeal/request module to retrieve the relevant json from github’s
api