Skip to content

TorbenStriegel/Kickbase-Analysis-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For educational and non-profit uses only. All trademarks, logos and brand names are the property of their respective owners.

kickbase-analysis

This repository contains some python code for retrieving data from the kickbase API and also a react web app for visualization.

DEMO: https://torbenstriegel.github.io/Kickbase-Analysis-Tool/

Run locally

If you are interested in running the code for your own league locally, follow this small guide.

Assuming you have Python (3.10) already setup, run the following commands to setup the environment and run the code for data collection:

cd data/
pip install pipenv
pipenv install
pipenv run main.py --kbuser [email protected] --kbpw yourpassword123 --league="Your League Name" --ignore ManagerX ManagerY

Giving the name of your league is optional. If not set, your first league (probably the one you are part of the longest time) will be used. Also optional is the --ignore parameter. With that you can specify one or more manager names to be ignored for data collection (e.g. for inactive or bot acocunts).

The resulting .json files need to be copied to the frontend folder:

cp data/*.json frontend/src/data

After that, assuming you have Node 18.x and npm setup, run the following commands to start the development server (reachable under http://localhost:3000/kickbase-analysis):

cd frontend/
npm install
npm start

Credits goes to

@r0man51

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published