implement getRepos - needs to use cache and perhaps change data format though.