Skip to content
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

Why does butler fetch require authentication for public games #206

Closed
fanmanpro opened this issue Apr 15, 2020 · 1 comment
Closed

Why does butler fetch require authentication for public games #206

fanmanpro opened this issue Apr 15, 2020 · 1 comment

Comments

@fanmanpro
Copy link

fanmanpro commented Apr 15, 2020

We're looking for a way to download a specific channel and version of a game using butler.

The closest solution seems to be butler fetch <user/project:channel> <destination>, however this always prompts to authenticate. Seen in code here:

client, err := ctx.AuthenticateViaOauth()
if err != nil {
return err
}

I'm curious if there could be a check to first determine if the game is private and only then prompt to authenticate?

Happy to run with the PR if it checks out design wise.

@fasterthanlime
Copy link
Collaborator

Downloading via the API always requires an API key (so, authentication), so that we can monitor usage and, if needed, shut down abuse.

We allow downloading free games via the website without an account because we're happy with folks visiting the site, and we're able to recommend them other games, etc.

We provide a platform that graciously offers downloads for free games as long as they're downloaded via the website or our application. We do not offer a free, unlimited, white label CDN :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants