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

[Feature] Steam card farming #8

Open
RedSparr0w opened this issue Oct 27, 2024 · 2 comments
Open

[Feature] Steam card farming #8

RedSparr0w opened this issue Oct 27, 2024 · 2 comments

Comments

@RedSparr0w
Copy link
Contributor

Add an idling option for steam card farming

Fall back to dynamic/static idling when not enough games to idle for cards?

@ZixeSea
Copy link
Owner

ZixeSea commented Oct 29, 2024

I don't think steam-user as any code that would let you view badge related information outside of badge level. So I don't see a way to get farmable card through steam-user. So probably need to find another way to get this info

@RedSparr0w
Copy link
Contributor Author

Yeah, this can be done through https://github.com/DoctorMcKay/node-steamcommunity

Need to fetch the badges pages

community.httpRequest(`https://steamcommunity.com/my/badges/?p=${page}`

Then need to parse the HTML to find games with drops remaining and the AppID and pages remaining
Also need to check if newly purchased (don't want to use up the 2 hours playtime if they may want to refund it)

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