deivit24 / python-steam-api

MIT License
34 stars 12 forks source link

Pass `l` parameter to achievements call #18

Closed danielgrijalva closed 5 months ago

danielgrijalva commented 9 months ago

This allows for a richer reponse from the /GetPlayerAchievements endpoint. Specifying the language adds 2 new fields to each achievement: name and description.

{
    "achievements": [
        {
            "apiname": "ACH.SURVIVE_CONTAINER_RIDE",
            "achieved": 1,
            "unlocktime": 1337080874,
            "name": "Wake Up Call",
            "description": "Survive the manual override"
        },
    ]
}

@deivit24 would appreciate some feedback and review if possible! I'd love to use this feature in my project.