Using Java to make various Github API calls