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

getting webapi_token issue #407

Closed
citrus1990 opened this issue Aug 29, 2024 · 1 comment
Closed

getting webapi_token issue #407

citrus1990 opened this issue Aug 29, 2024 · 1 comment

Comments

@citrus1990
Copy link

citrus1990 commented Aug 29, 2024

I'm trying to extract webapi_token which I need for my project from this url
https://steamcommunity.com/pointssummary/ajaxgetasyncconfig
by adding this code at the end of SteamClient.login function,

resp = self._session.get(url='https://steamcommunity.com/pointssummary/ajaxgetasyncconfig').json()
self.webapi_token = resp['data']['webapi_token']

However it returns {"success":1,"data":[]} as if I weren't logged in. I assume I need to add something to my request, but Idk what.

@citrus1990
Copy link
Author

#343 (comment)
solved the issue

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

1 participant