Releases: woctezuma/steam-popular-appids
Releases · woctezuma/steam-popular-appids
Data snapshot from SteamSpy
This is a data snapshot of 66,659 games:
- as downloaded on December 31, 2023 via
SteamSpy
, - then aggregated with the piece of code shown below.
Here are the output files:
appids.json
contains the list of appIDs. Caveat: the order matters, because SteamSpy sorts data by decreasing number of owners, which is of interest to us!output.json
contains all the data returned by SteamSpy.
import json
from pathlib import Path
NUM_PAGES = 70
TODAY = 20231231
OUTPUT_FNAME = "output.json"
APPID_FNAME = "appids.json"
data = {}
for page_no in range(NUM_PAGES):
fname = f"{TODAY}_steamspy_page_{page_no}.json"
with Path(fname).open(encoding="utf8") as f:
d = json.load(f)
data.update(d)
app_ids = [int(app_id) for app_id in data]
with Path(OUTPUT_FNAME).open("w", encoding="utf8") as f:
json.dump(data, f, indent=2)
with Path(APPID_FNAME).open("w", encoding="utf8") as f:
json.dump(app_ids, f, indent=2)