- Python 3.x
- pip (Python package installer)
- Brawl Stars Developer Account and API Key
-
Clone the Repository
git clone https://github.com/your-repo/brawl-stars-battle-log-analysis.git cd brawl-stars-battle-log-analysis -
Set up a Virtual Environment
Windows:
python -m venv venv .\venv\Scripts\activate
Mac/Linux:
python3 -m venv venv source venv/bin/activate -
Install the Requirements
Create a .env file in the root directory of the project and add your Brawl Stars API key and player tag. The .env file should look like this:
BRAWL_STARS_API_KEY=your_api_key_here BRAWL_STARS_PLAYER_TAG=#your_player_tag_here -
Hide the .env file Create a .gitignore file and add the .env file to it
-
Run the Script(s)
python3 script_name.py