How does a user authenticate a bot/application to view their server data

I run and develop a bot called Tickets, and it has a feature to lock Ticket Panels to a certain level I'd like to integrate with Lurkr with this, and would like to know how users authenticate bots to view their server data, or if its just like Amari and it can view any server
No description
4 Replies
EasyThreads
EasyThreads•2w ago
:NighthawkInteractionError: BEFORE YOU ASK FOR SUPPORT :NighthawkInteractionError: 1ļøāƒ£ • Use the panel in #šŸ†˜-instant-support to check if your problem is a common issue! Use the documentation and it's detailed guides to help you setup Lurkr! 2ļøāƒ£ • Use the commands /config check and /config troubleshoot to get a better idea what issue you're having! ā“ • Still stuck? Ask your question in as much detail as possible to help other people understand what your problem is and help you fix it quickly! ā—ā€¢ This server uses Answer Overflow to index content on the web. By posting in this channel your messages will be indexed on the web to help others find answers.
Almeida
Almeida•7d ago
hey. if the leaderboard is public, anybody can access it via the api without authentication https://api.lurkr.gg/v2/docs#/levels/get_levels__entry_ however, if the leaderboard is only available to members / managers, you'd need an API key which must be generated by one of the server admins. this can be done in the Profile page in the dashboard, where they can create a api key and give it access to their server
MagicGamer šŸ–
MagicGamer šŸ–OP•7d ago
I see, so i'd need to either pull from the leaderboard or ask admins to generate and give the bot a key?
Almeida
Almeida•7d ago
yep in either case, you'd still use the same endpoint its just that some guilds require authentication (but the server admins can change that)

Did you find this page helpful?