wynnbuilder-forked-for-changes/dump.py
2021-01-06 06:48:41 -06:00

7 lines
212 B
Python

import requests
import json
response = requests.get("https://api.wynncraft.com/public_api.php?action=itemDB&category=all")
with open("dump.json", "w") as outfile:
outfile.write(json.dumps(response.json()))