[][src]Module mixer_wrappers::rest

Wrapper around Mixer's REST API.

This module contains a struct, REST that is contains various helper functions for making calls out to the API and processing the responses.

The ChatHelper struct can be constructed through an instance of the REST struct, providing several handy methods for getting information about the chat server endpoint(s), required for connecting to chat.

The WebHookHelper struct can be constructed through an instance of the REST struct, providing several handy methods for registering webhooks, as the HTTP call to do so differs from the rest of the API endpoints.

Some endpoints require OAuth. You can utilize this crate's oauth module for getting an access token from users.

Modules

errors

Error handling

Structs

ChatHelper

Helper for chat-related REST API endpoints.

REST

API wrapper around the Mixer REST API.

WebHookHelper

Helper for webhook-related REST API endpoints.