This repository has been archived on 2025-06-27. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
ludusavi-manifest/scripts/get-steam-app-info.py
2024-04-20 22:25:33 -04:00

18 lines
309 B
Python

import json
import sys
from steam.client import SteamClient
def main():
app_ids = [int(arg) for arg in sys.argv[1:]]
client = SteamClient()
client.anonymous_login()
info = client.get_product_info(apps=app_ids)
print(json.dumps(info, indent=2))
if __name__ == "__main__":
main()