roblox-api 0.1.8

Roblox web api bindings
Documentation
1
2
3
4
5
6
7
use roblox_api::{AssetTypeId, Paging};

const USER_ID: u64 = 3139503587;

test_endpoint!(user_owned_assets, [inventory::v2], user_owned_assets(USER_ID, AssetTypeId::Hat, Paging::default()) => |result| {
    assert!(!result.assets.is_empty());
});