コード例 #1
0
 def _get_remote_branches(self):
     headers, contents = send_get_request(self.github_api_path + '/branches')
     return json.loads(contents)
コード例 #2
0
 def _get_last_remote_commit(self, branch):
     headers, contents = send_get_request(self.github_api_path + '/commits/' + branch)
     return json.loads(contents)
コード例 #3
0
 def get_latest_release(self):
     headers, contents = send_get_request(self.github_api_path + '/releases/latest')
     return json.loads(contents)