A XVM like statistics engine for World of Warships
You agree that statistics of a player does NOT mean how a player will perform in a game, and you will NOT use this tool in any way to create a toxic environment or demonstrate any unethical/immortal behaviour in World of Warships. If you do NOT agree, you shall NOT use this app.
- Make sure you have Node.js installed, and you have restarted your computer if you just ran the installation.
- Make sure you have
replay
enabled in World of Warships. - Clone this repo.
- Make sure there is no open web page with address:
http://localhost:8080
- Run
install.bat
. - You should see a web page open on
http://localhost:8080
, like this:
- If you leave or refresh this page, installation will be cancelled, and you will need to run install.bat again.
- Change
World of Warships Location
to where you installed World of Warships, it is usually the default valueC:\Games\World_of_Warships
. Click onValidate
to make sure the location is correct. - Select your
region
. - Get an
Application ID
from Wargaming Developer Room at your region.- Note: You can skip this step and
wows-stats
will use thedemo
key, whereWargaming
has a limit on how many times you can hit their API in a certain period of time usingdemo
as a key. I recommend you go ahead and follow the steps, it takes less than a minute and it is totally free. - Create an application on My Applications page in Wargaming Developer Room at your region and copy the newly generated
Application ID
. - Place
Application ID
you copied intoApplication ID
textbox. - Click on
Validate
to make sure theApplication ID
you placed works.
- Note: You can skip this step and
- Click on
Save
. If everything goes through, the installation page will becomes an blank page.
- Run
run.bat
to start the app. - You should see a web page open on
http://localhost:8080
, make sure only one web page to that address is open at all time.
- /api
- GET
- Response 200:
{ "status": "ok", "name": "wows-stats api", "version": "v2" }
- /api/player?name=rubycrow
- GET
- Response 200:
{ "id": "1001632578", "name": "rubycrow", "battles": 1343, "winRate": "54.28%", "avgExp": "1317", "avgDmg": "36208", "kdRatio": "1.45", "raw": { ... } }
- /api/ship?playerId=1001632578&shipId=4289607376
- GET
- Response 200:
{ "name": "Mutsuki", "img": "http://api.worldofwarships.com/static/1.3.2/wows/encyclopedia/vehicle/PJSD005.png", "info": { ... }, "id": 4289607376, "battles": 43, "victories": 24, "survived": 12, "destroyed": 34, "avgExp": "1175", "avgDmg": "20677", "raw": { ... } }