python - Is it possible to access the 'Releases' Tag via PyGithub? -
i try navigate releases tag of specific repository in github via pygithub api. can navigate repository, can't navigate further. there command in pygithub api?
update
or there python api satisfies demands?
from i've seen lot of python-based github client libraries don't have support of github api endpoints, including releases. however, github3 library on master branch. install pip install https://github.com/sigmavirus24/github3.py/zipball/master
here's functional example of usage:
from github3 import github gh = github() releases = gh.repository("github", "git-lfs").iter_releases() release in releases: asset in release.assets: print "release %s: %s" % (release.name, asset.name)
Comments
Post a Comment