Important
You need to have Faction API access to use the core-features
Head over to oc.tornrevive.page and create your Custom API Key.
Note
You will only be able to access features that you checked while creating the API Key. Following features are enabled by default
npm iRun the server
npm run devIn order to bypass CORS for Torn Probability API I am running my own proxy backend. The source code can be found here
cd proxypip install -r requirements.txtRun the FastAPI server and change the URL used in success-prediction and role-weights
uvicorn main:app --host 0.0.0.0 --port 8000