psynet
A Rust client for Psyonix's PsyNet RPC backend — the API that powers Rocket
League's online services (api.rlpp.psynet.gg). It handles request signing, the
WebSocket transport, and typed RPC calls used to look up player profiles, match
history, and ranks.
psynet is developed as part of rlru, a
Rust-first Rocket League replay uploader, but it has no dependency on the rest of
that project and can be used on its own.
What it does
- Signs PsyNet RPC requests (HMAC over the request body) the way the game client does, so calls are accepted by the live backend.
- Opens and manages the authenticated WebSocket session.
- Exposes typed calls for the endpoints rlru needs: authenticate a player, pull match history (with per-match rank/MMR metadata), and look up player profiles.
Usage
[]
= "0.1"
= { = "1", = ["macros", "rt-multi-thread"] }
use ;
async
The main entry points are PsyNetClient
(transport + signing) and the PsyNetRpc
session it hands back. See the API documentation for
the full surface.
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.