Skip to content

Added support for languages

Compare
Choose a tag to compare
@isFakeAccount isFakeAccount released this 17 Sep 19:51
· 96 commits to master since this release

Added support for languages. The language preference can be set from PSNAWP class.

For example

psnawp = PSNAWP(getenv("NPSSO_CODE"), accept_language="de-de", country="de")
trophies = psnawp.game_title(title_id="NPWR20188_00", np_communication_id="NPWR20188_00").trophies("PS5")
for trophy in trophies:
    print(trophy)

The default is still set to en-US