bloxy.js

1.1.8 • Public • Published

Bloxy.js

Get users by keyword
const { getUsersFromSearch } = require("bloxy.js")

await getUsersFromSearch(keyword)

Returns an array or null

Get avatar by ID
const { getAvatar } = require("bloxy.js")

await getAvatar(userid)

Returns a string or null

Get users by username
const { getUserFromUsername } = require("bloxy.js")

await getUserFromUsername(username, excludeBannedUsers)

Returns a JSON object or null

Get previous usernames by ID
const { getPreviousUsernames } = require("bloxy.js")

await getPreviousUsernames(userid)

Returns an array or null

Get user by ID
const { getUserFromID } = require("bloxy.js")

await getUserFromID(userid)

Returns a JSON object or null

Get last online by ID
const { getLastOnline } = require("bloxy.js")

await getLastOnline(userid)

Returns a JSON object or null

Powering

Special Thanks

@aero/http

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i bloxy.js

    Weekly Downloads

    16

    Version

    1.1.8

    License

    none

    Unpacked Size

    3.93 kB

    Total Files

    3

    Last publish

    Collaborators

    • bchurton