Returning Maps With Most Votes

Q: What is returnMostVotes?

A: returnMostVotes is a function that returns maps with the most votes on a specific date

▼ 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.returnMostVotes("2023-05-15")
                                #To see all the cool API json stuff you can use, write this
                        console.log(varName)
}
             
        

Parameters

1. dateQuery -- Date to search

Go Home