Crate vrc

Source
Expand description

Typed models for VRChat’s API.

This is fully work in progress, and published to be able to already setup the dependencies for onlivfe.

Please see vrchatapi for a mature implementation. It does though for example represents many things as Strings or Options where an enum would be more appropriate. It’s understandable though for the Openapi generated code to not align that closely with them.

This implementation will differ in that it’ll try to align more with the rust™ way. Meaning the code will rename things to be meaningful, use enums for a lot of things, and manually implement some traits like debug for sensitive values such as passwords.

Modules§

api_clientapi_client
An optional API client feature using reqwest
id
Wrappers for VRC IDs.
model
Models of the API responses to queries.
query
Models of the queries for VRC’s API.

Constants§

API_BASE_URI
The version 1 VRC API
API_KEY
VRC API for some reason uses a static cookie key for requests