getting server to collect data from github api