GetPlayerByUsername
bot.GetPlayerByUsername(username: string)
Example
const { Client } = requre("brickverse");
let bot = new Client();
bot.login("example", true).then(async() => {
let {success, data} = await bot.GetPlayerByUsername("BrickVerse");
if (success) {
console.log(data);
} else {
console.log("API call failed, reason: " . data);
}
});Returned Data
Parameters
Name
Type
Description
Last updated
Was this helpful?
