Skip to content

nabil-ak/mcfit-utilization-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon

Utilization-Bot for FitX and McFit

This discord bot will show you the current utilization of your gym. You will need your McFit/FitX login credentials to use their API.

Installation

Use the package manager pip to install the requirement frameworks.

pip install -r requirements.txt

Settings

  1. Change the EMAIL, PASSWORD to your login credentials
  2. Set the right ID and BRAND 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 either mcfit or fitx.
  3. 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

Usage

  1. Create a token for your discord bot in the discord developer dashboard.
  2. Change your .env file with your own data.
  3. Run the bot with python3 bot.py.
  4. Use the /utilcommand to get the current utilization of your gym.

Example

icon

Discord

License

MIT