ValvePython / steam

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

No way to query GameData and GameTags separately #355

Open Kein opened 3 years ago

Kein commented 3 years ago

According to always terrible valve docs, gamedata and gametags there are separate fields: https://partner.steamgames.com/doc/api/ISteamMatchmakingServers#MatchMakingKeyValuePair_t and https://partner.steamgames.com/doc/api/ISteamGameServer#SetGameData describes SetGameData and SetGameTags

The server I'm querying returns keywords data, which is array of KV pairs with : as a delimiter. However, I cant seems to query/use it with the available API steam.py povides: https://steam.readthedocs.io/en/latest/api/steam.game_servers.html

Attempt to use it in gamedata[or] and gametype does not return any valid reasons and there is no gametagsand/or as per Valve's ISteamMatchmakingServers documentation.

rossengeorgiev commented 3 years ago

Never used any of these. Do you have an example server that uses them?