This discord bot will show you the current utilization of your gym. You will need your McFit/FitX login credentials to use their API.
Use the package manager pip to install the requirement frameworks.
pip install -r requirements.txt
- Change the
EMAIL
,PASSWORD
to your login credentials - Set the right
ID
andBRAND
of your GYM. The ID is behind the studio in the url of the gym (https://my.mcfit.com/studio/ cnNnLWdyb3VwOjE0MTQwNDgzMjA=) DONT FORGET THE EQUAL CHARACTER. Brand is eithermcfit
orfitx
. - Create and set the
token
of your discord bot.
BRAND = ENTER_BRAND
EMAIL = ENTER_EMAIL
PASSWORD = ENTER_PASSWORD
STUDIO = THE_ID_OF_YOUR_STUDIO
DISCORD_BOT_TOKEN = THE_TOKEN_OF_YOUR_DISCORD_BOT
- Create a token for your discord bot in the discord developer dashboard.
- Change your .env file with your own data.
- Run the bot with
python3 bot.py
. - Use the
/util
command to get the current utilization of your gym.