I'm trying to get info about a Steam user's inventory but it seems that I'm doing something wrong. After running script below (ofc first I replace PROFILEID with my Steam User ID) all I get is {'success': False}. Can anyone tell me how to fix this? I set my inventory as visible for everyone.
import requests
inventory = requests.get("http://steamcommunity.com/profiles/PROFILEID/inventory/json/730/1").json()
print(inventory)
After deleting ".json()" it prints <Response [200]>