Returning Maps by ID

Q: What is returnMapsByID?

A: returnMapsByID is a function that can be used to return the information of maps published by the specified user.

▼ 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.returnMapsByID(42069, 0)
                                #To see all the cool API json stuff you can use, write this
                        console.log(varName)
}
             
        

Parameters

1. userID -- The id of the user to search

2. page -- page number to search

Go Home