Returning User Information By Name

Q: What is returnUserByName?

A: returnUserByName is a function that returns user information from the user's name.

▼ How to use ▼

            
                const bs = require('bs.js');

                            #Reminder -> These functions can only be used in async functions
                async function onStart() {
                                const varName = await bs.returnUserByName("loopymtb")
                                #To see all the cool API json stuff you can use, write this
                        console.log(varName)
}
             
        

Parameters

1. name -- The name to search for.

Go Home