This Matrix bot is used to pull stats from WiGLE using WiGLE's API as shown below.
Prior to using the bot the following variables must be changed in the config.json
file:
-
Replace
@your_bot_username:matrix.org
with your Matrix bot's username -
Replace
your_bot_password
with your Matrix bot's password -
Adjust the homeserver_url appropriately if the bot will not belong to the default https://matrix.org federation.
- If you do not know how to create a Matrix bot, instructions on how to do so can be found here
-
Replace
YOUR-ENCODED-FOR-USE-KEY-HERE
with your WiGLE API Key.- Your API key can be found here, select your account page in the lower right, then select "Show My Token".
- The token you are looking for will be listed as the "Encoded for use".
Once the above variables have been updated, run the bot using the following commands:
!user
followed by a username to get user stats. For example,/user neednotapply
.!userrank
followed by a group name to get user rankings for that group. For example,/userrank #wardriving
.!grouprank
to show group rankings.!alltime
for all-time user rankings.!monthly
for monthly user rankings.!help
to show a list of available bot commands.
Discord bot created by Kavitate.
Further development of this bot is in collaboration with RocketGod.
Modified for Matrix ecosystem by NeedNotApply.
The idea for this bot was inspired by the WiGLE Bot Repo made by INIT6Source.