I'm trying to get price history for items on steam market. I found a link that returns price history for a specific item (which is mentioned in almost every question about getting price history from market at this site).
It works fine in browser while I'm logged-in in Steam, but when I try to do the same thing in python, it returns an empty list (the same thing happens when I try to do it in browser while not being logged-in in Steam). This is my python code (uses requests lib):
import requests
params = {'country': 'RU', 'currency': 5, 'appid': 730, 'market_hash_name': 'Falchion%20Case'}
data = requests.get('http://steamcommunity.com/market/pricehistory', params=params)
print(data.text)
So, the question is: is there any way to emulate being logged-in in Steam while making requests in python (or some other language)?