semvec/pypi-packages huggingface dataset:
fsteam 1.0.1
https://github.com/Fsoky/steampy
Requires Python: >=3.7,<4.0

# fsteam
Python module for work with Steam API

[PyPI](https://pypi.org/project/fsteam)

## Example:

```py
from fsteam import Steam

steam = Steam("API KEY") # format="json" (default), also xml, vdf
profile = steam.method("ISteamPlayer", "GetPlayerSummaries", {"steamids": 76561198982570889})
pretty_profile = steam.method("ISteamPlayer", "GetPlayerSummaries", {"steamids": 76561198982570889}, True) # Make a beautiful conclusion

print(profile) # outputs JSON object..
print(pretty_profile) # outputs formatted JSON object
```

`>>>` profile

```
{'response': {'players': {'player': [{'steamid': '76561198982570889', 'communityvisibilitystate': 3, 'profilestate': 1, 'personaname': 'Чудная Дурочка', 'commentpermission': 1, 'profileurl': 'https://steamcommunity.com/profiles/76561198982570889/', 'avatar': 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/10/10b1bc3e6935a595a89c331f1de7310772c76a0c.jpg', 'avatarmedium': 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/10/10b1bc3e6935a595a89c331f1de7310772c76a0c_medium.jpg', 'avatarfull': 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/10/10b1bc3e6935a595a89c331f1de7310772c76a0c_full.jpg', 'avatarhash': '10b1bc3e6935a595a89c331f1de7310772c76a0c', 'lastlogoff': 1620594001, 'personastate': 1, 'realname': "I Don't understand you.", 'primaryclanid': '103582791429521408', 'timecreated': 1565113791, 'personastateflags': 0}]}}}
```

`>>>` pretty_profile

```json
{
    "response": {
        "players": {
            "player": [
                {
                    "avatar": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/10/10b1bc3e6935a595a89c331f1de7310772c76a0c.jpg",
                    "avatarfull": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/10/10b1bc3e6935a595a89c331f1de7310772c76a0c_full.jpg",
                    "avatarhash": "10b1bc3e6935a595a89c331f1de7310772c76a0c",
                    "avatarmedium": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/10/10b1bc3e6935a595a89c331f1de7310772c76a0c_medium.jpg",
                    "commentpermission": 1,
                    "communityvisibilitystate": 3,
                    "lastlogoff": 1620594001,
                    "personaname": "\u0427\u0443\u0434\u043d\u0430\u044f \u0414\u0443\u0440\u043e\u0447\u043a\u0430",
                    "personastate": 1,
                    "personastateflags": 0,
                    "primaryclanid": "103582791429521408",
                    "profilestate": 1,
                    "profileurl": "https://steamcommunity.com/profiles/76561198982570889/",
                    "realname": "I Don't understand you.",
                    "steamid": "76561198982570889",
                    "timecreated": 1565113791
                }
            ]
        }
    }
}
```

The module will be finalizing...