Crate chilloutvr

Source
Expand description

ChilloutVR’s API models in rust.

This is fully unofficial and in no way affiliated, endorsed, supported, or created by Alpha Blend Interactive, the creators of ChilloutVR.

The crate has models of the responses, with proper serde support. It also definitions for the requests, using racal for the HTTP parts, and big request/response enums for WebSockets, meaning that there’s no lock-in to a single API client. An example API client is provided for convenience though using reqwest.

The API technically isn’t public yet, so proceed with your own discretion. That also means there is no official API documentation. Which means it’s possible that some things are wrong and/or will change a lot in the future.

Modules§

api_clienthttp_client or ws_client
An optional API client feature using reqwest
id
Wrappers for CVR IDs.
model
Models of the API responses to queries.
query
Data about queries which can be used with your HTTP client of choice.

Constants§

API_V1_HOSTNAME
The API host name
API_V1_HTTP_URL
The main API endpoint
API_V1_WS_URL
The WS API endpoint