getting data from github api and rendering json