-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How would one download a release asset #216
Comments
Hi Robert, The intro paragraph explains how to navigate the api and links to official docs. After reading official documentation for releases, you will find that the code hierarchy corresponds to with the docs. The api has over 200 methods and I took a lot of time to document the api calls with code examples - see release assets github = Github.new ....
github.repos.releases.assets.get 'owner', 'repo', 'id' |
Excuse the messy Ruby, but this is what I had to do to wind up downloading a single asset:
Two issues I came across was passing Would be nice to see downloading to a file handle as an option. |
@rberger |
This seems to be an incredible mystery. I can't find any examples for any mechanism to programmatically download a release asset from a private repo.
I had hoped this Gem would have an easy way to do that, but I don't see how to do it here ether.
Any suggestions (or example code)?
Thanks
The text was updated successfully, but these errors were encountered: