def _get_remote_branches(self): headers, contents = send_get_request(self.github_api_path + '/branches') return json.loads(contents)
def _get_last_remote_commit(self, branch): headers, contents = send_get_request(self.github_api_path + '/commits/' + branch) return json.loads(contents)
def get_latest_release(self): headers, contents = send_get_request(self.github_api_path + '/releases/latest') return json.loads(contents)