rbx_auth 0.1.0

Constructs params for making authenticated requests to Roblox APIs
Documentation

rbx_auth

Constructs a headers map and cookie jar that can be passed to a reqwest client to make authenticated requests to Roblox APIs. Best used with the rbx_api crate.

Usage

use rbx_auth::RobloxAuth;

let auth = RobloxAuth::new().await?;

let client = reqwest::Client::builder()
    .user_agent("Roblox/WinInet")
    .cookie_provider(Arc::new(auth.jar))
    .default_headers(auth.headers)
    .build();