A personal desktop dashboard to download, analyze, and visualize your Dota 2 account metadata. Built with Python and Streamlit, this tool allows you to track your behavior score and commend history over time across multiple Steam accounts.
This application provides a user-friendly interface to fetch and process your personal Dota 2 game data from your Steam profile. It solves the problem of not being able to easily see or track your behavior score history directly on Steam. The entire application is self-contained and runs locally on your machine.
- Multi-Profile Management: Securely add and switch between multiple Steam accounts directly within the UI.
- Automated Data Syncing: Performs a full historical download on the first run and efficient incremental syncs on subsequent runs to only fetch new data.
- Data Visualization: View your behavior score trend on an interactive line chart and see key metrics at a glance.
- Standalone Application: A simple executable is provided for users who don't have Python installed.
- Secure & Private: All your data, including sensitive cookie information, is stored locally on your computer and is never sent anywhere.
There are two ways to use this application, depending on your needs.
The easiest way to get started is by using the pre-built standalone executable.
- Go to the Releases Page of this repository.
- Download the
Dota2AnalyticsHub.exefile from the latest release. - Double-click the
.exefile to run it. The application will start and open in your web browser.
If you have Python installed and want to run the code directly, follow these setup instructions.
git clone https://github.com/rdrishabh38/dota2-analytics.git
cd dota2-analyticsIt is highly recommended to use a virtual environment to manage dependencies.
On Windows:
python -m venv venv
venv\Scripts\activateOn macOS / Linux:
python3 -m venv venv
source venv/bin/activateThis project's dependencies are listed in the requirements.txt file.
pip install -r requirements.txtOnce the dependencies are installed, you can start the Streamlit server.
streamlit run app.pyYour web browser will automatically open with the application running.
If you want to build your own Dota2AnalyticsHub.exe binary from the source code, follow these steps.
- Complete the Developer Setup: Ensure you have followed all the steps in the "For Developers" section above.
- Install PyInstaller: You'll need the PyInstaller package to create the executable.
pip install pyinstaller
- Run the Build Command: The project includes a
run_app.specfile that contains the build configuration. Simply run PyInstaller with this file as the target.pyinstaller run_app.spec
- Find Your Executable: The final, single-file executable will be located in the
distfolder.
Note: Executables are platform-specific. The command above will create a Windows .exe when run on Windows, or a macOS/Linux binary when run on those respective systems.
When you run the application for the first time, you will need to add a profile by providing your Steam Custom URL and several cookie values from your browser.
Your
steamLoginSecurecookie is like a temporary password for your account. Never share this cookie with anyone. If someone gets this value, they can gain access to your Steam account. Treat it with the same level of security as your actual password.To invalidate this cookie, simply log out of Steam on the browser(chrome/firefox/brave etc) where you obtained it. This will force the cookie to expire and prevent any unauthorized access.
- Open the application and navigate to the ⚙️ Profile Management tab.
- Read the security warning carefully.
- Fill in the required fields to create a new profile. The sections below explain how to find this information.
- Log in to
steamcommunity.comin your web browser. - If you use Steam's Family View, you must unlock it by entering your PIN.
- Navigate to this URL: https://steamcommunity.com/my/
- Your browser will redirect you to your actual profile URL, which will look something like
https://steamcommunity.com/id/abc123/. - The
abc123part is your Custom URL. Enter this value into the "Steam Custom URL" field in the application.
The easiest way to get your cookie values is by using a browser extension.
- Install a Cookie Editor Extension:
- For Chrome/Brave/Edge: Cookie-Editor
- For Firefox: Cookie-Editor
- Log in to Steam: Make sure you are logged in to
steamcommunity.comand have unlocked Family View (if applicable). - Open the Extension: Click the Cookie-Editor icon (🍪) in your browser's toolbar. A list of all cookies for
steamcommunity.comwill appear. - Copy the Values: Find each of the following cookies in the list, click on it, and copy its corresponding "Value". Paste each value into the matching field in the application:
sessionidsteamLoginSecurebrowseridsteamCountrysteamparental
Once all fields are filled, click "💾 Save Profile". You can then navigate back to the 📊 Behaviour Summary tab to download and view your data.
This is an unofficial application and is not affiliated with, endorsed by, or in any way officially connected with Valve Corporation or Steam.
Steam and the Steam logo are trademarks and/or registered trademarks of Valve Corporation in the U.S. and/or other countries.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file in the repository for the full license text.
