Skip to main content

Crate psn_rs

Crate psn_rs 

Source
Expand description

Interact with PSN (PlayStation Network) API in full Rust!

crates.io ci status dependency status dependency status

§Get an authentication token

  1. Log-in into https://www.playstation.com
  2. In an other browser tab, open https://ca.account.sony.com/api/v1/ssocookie
  3. You should have your npsso token displayed in JSON format.

§Implemented endpoints

§Users

  • Get own account identifier

§Trophies

  • Get a list of trophy titles for a user
  • Get the trophies for an user and a title

§Examples

Some API usage examples can be found in the examples directory.

§Credits

Modules§

models
All API-related models.

Structs§

PSNClient
Main API client.
PSNClientBuilder
Main API client builder. Must be used to create a new PSNClient instance.

Enums§

PSNError
PSN API error type.

Type Aliases§

PSNApiResult
PSN API result type.