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
  • Wrappers for VRC IDs.
  • Models of the API responses to queries.
  • Models of the queries for VRC’s API.

Constants§

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