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

Save Steam web API spec in repository #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fizzy123
Copy link

@fizzy123 fizzy123 commented Aug 4, 2018

This change saves the Steam web API spec in a module in the steamapi. This means that people don't need to make a call every time they want the Steam web API to be populated in Steam Interface, and also means that there is now a file that people can look at to see what functions are currently supported and what parameters they accept.

Down the line, it would probably be nice to format the spec better so that it actually defines python classes. This would be more readable and mean that the python functions are better defined.

Additionally, I modified the APIResponse.dict function to recursively convert all APIResponses to dicts, rather than only convert the top level of the APIResponse into a dict.

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

Successfully merging this pull request may close these issues.

1 participant