Praise Counter is a Python 2.0 GUI application used to scrape Microsoft Teams and count user praises. PHP scripts are used to communicate with a MySQL database while HTML, CSS, and Javascript are used to display a user front-end with values and statistics.
- Selenium
- Requests
- Tkinter
To set secret key:
- Open Teams
- Navigate to Calendar
- Select Meet Now and start a meeting
- Select Show Conversation
- Enter secret key into chat using format:
#secret_key:SECRET_KEY_USED_TO_ALLOW_WEB_SERVER_ACCESS
To build EXE:
- Install pyinstaller
- Launch CMD and navigate to project directory
- Execute the following command
pyinstaller --onefile --noconsole --icon=icon.ico --add-data "icon.ico;." praise.py
Description:
--onefile: Creates one exe containing all files
--noconsole: Disables console when launching exe
--icon: Sets EXE icon
--add-data: Bundles ICO image into executable
--add-data: If more data required, add tag again