ValvePython / steam

☁️ Python package for interacting with Steam
http://steam.readthedocs.io
MIT License
1.09k stars 134 forks source link

[FEATURE REQUEST] Get the list of players you've recently played or are currently playing against in real-time #467

Open nbro opened 1 month ago

nbro commented 1 month ago

Is your feature request related to a problem? Please describe.

Some games have no anti-cheat support. Valve does nothing. The developer also does nothing to eliminate the cheaters. I will not nominate here the games where this happens. In those cases, you can only avoid cheaters if you keep track of them and know their names. However, users can change usernames, so it's not feasible to do this manually.

So, it would be nice if one could collect the list of players he/she has recently played against and use that to mark players as cheaters/non-cheaters. Additionally, it would be nice to have this list updated in real-time, so that we can check if the players we're currently playing against are known cheaters.

Describe the solution you'd like

An API endpoint that allows us to get real-time data about players you've played against or are currently playing against or about to play against. Essentially, for my idea to be useful, we should be able to get the data in real-time, but I'd be interested in getting the data in near real-time. Basically, something that would allow us to get more or less the same info that we have if we go to View and then Players and, if possible, in real-time.

Describe alternatives you've considered

Right now, I don't really have an alternative. I've quickly looked at the official documentation for some Steam APIs and I couldn't find the API endpoint. So, I suppose this will not be possible, but it's possible I missed the endpoint, as I'm not very familiar with the APIs and I've not searched them thoroughly