Psnawp

Latest version: v2.0.0

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.0.0

Release Notes:

This is a major release, and it's been a while since the last one. This time I wanted to address all the shortcoming in the library. One of the short comings how the Authentication and RequestBuilder class worked. The authentication and the request builder class architecture is much more cleaner now.

The release also fixes the bug with the Search class since Sony ended up deprecating the previous API.

Lastly, this version uses improved pagination that I added a while ago. But previously it was only limited to `TitleStats`. But now all trophy endpoints use this pagination class.

> This version introduces small changes to the methods of the library. Hence, the major release. Keep in mind when upgrading to this version.

If you have any question, feel free to ask me on subreddit [r/DevYoshikageKira](https://www.reddit.com/r/DevYoshikageKira/)

What's Changed (auto generated)
* Fixed search method name for README by Dev-R in https://github.com/isFakeAccount/psnawp/pull/56
* Correct codeblock example by NiccoloGranieri in https://github.com/isFakeAccount/psnawp/pull/59
* Bugfix: incorrect play time parsing by omz1990 in https://github.com/isFakeAccount/psnawp/pull/60
* Bugfix: Add PSPC platform type by omz1990 in https://github.com/isFakeAccount/psnawp/pull/66
* Improved README Code Example Readability and Generator Handling by Dev-R in https://github.com/isFakeAccount/psnawp/pull/69
* Authentication Rewrite by isFakeAccount in https://github.com/isFakeAccount/psnawp/pull/70

New Contributors
* Dev-R made their first contribution in https://github.com/isFakeAccount/psnawp/pull/56
* NiccoloGranieri made their first contribution in https://github.com/isFakeAccount/psnawp/pull/59

**Full Changelog**: https://github.com/isFakeAccount/psnawp/compare/v1.3.3...v2.0.0

1.3.3

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

For example

py
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`

1.3.2

Fixed the PlatformType Bug in TrophyGroupSummary. Issue link: https://github.com/isFakeAccount/psnawp/issues/54

1.3.1

- Updated all the packages

1.3.0

- Fixed the issue with the Title stats page size issue
- More improvements are upcoming in the future where all the listing generators will use the generic listing generator like title stats. This will allow users to skip pages. Useful for mobile and web apps.
- Small breaking change with title stats. The `total_item_count` is now in a different location.

1.2.3

- Fixed Title Stats Limit Bug that was causing the bug `invalid request, requested limit=1000 allowed limit=500`
- Fixed a minor pagination bug in title_stats.py

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.