psn_rs 0.1.0

Interact with PlayStation Network API in full Rust!
Documentation
<p align="center" style="text-align: center">
  <img src="assets/logo.png" width="33%">
</p>

<p align="center">
    <p align="center">Interact with PSN (PlayStation Network) API in full Rust!</p>
    <p align="center">
        <a href="https://crates.io/crates/psn_rs">
            <img alt="crates.io" src="https://img.shields.io/crates/v/psn_rs.svg"/>
        </a>
        <a href="https://github.com/cocool97/psn_rs/actions">
            <img alt="ci status" src="https://github.com/cocool97/psn_rs/actions/workflows/rust-build.yml/badge.svg"/>
        </a>
        <a href="https://deps.rs/repo/github/cocool97/psn_rs">
            <img alt="dependency status" src="https://deps.rs/repo/github/cocool97/psn_rs/status.svg"/>
        </a>
        <a href="https://opensource.org/licenses/MIT">
            <img alt="dependency status" src="https://img.shields.io/badge/License-MIT-yellow.svg"/>
        </a>
    </p>
</p>

# 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

- Javascript PSN API: [psn_api]https://www.npmjs.com/package/psn-api
- Python PSN API: [psnawp]https://github.com/isFakeAccount/psnawp