8 lines
207 B
Python
8 lines
207 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:
|
||
|
of.write(json.dumps(response.json()))
|