I am using this endpoint > https://api.torn.com/torn/?selections=items&key=
I see all the items in the browser, but I am having problems.
response = requests.get("https://api.torn.com/torn/?selections=items&key=" + key)
json_data = json.dumps(response.text)
After this I am having a problem. I want to loop over each item and loop over the results and print the market_value variable. I know I am supposed to do like for x in json_data but it seems to get stuck on the top level items dict i believe. Sorry I am new to Python and just trying to figure this out.
I see all the items in the browser, but I am having problems.
response = requests.get("https://api.torn.com/torn/?selections=items&key=" + key)
json_data = json.dumps(response.text)
After this I am having a problem. I want to loop over each item and loop over the results and print the market_value variable. I know I am supposed to do like for x in json_data but it seems to get stuck on the top level items dict i believe. Sorry I am new to Python and just trying to figure this out.