Skip to content

Instantly share code, notes, and snippets.

<script setup lang="ts">
// imports
import { groupBy, keyBy, orderBy } from 'lodash'
import { useFilter } from 'vuetify/lib/composables/filter'
// globals
const props = defineProps({
density: {
type: String,
default: 'default',
@bartku
bartku / gist:4271798
Last active January 31, 2024 01:05
Unofficial description of unofficial World of Tanks API

World of Tanks unofficial API

World of Tanks, popular MMO game about tanks from time around WWII, has some nice mobile application called Wot Assistant (available also at AppStore and MS Marketplace). With simple packet sniffing you can guess how it retrieves players' statistics.

Surprisingly, mobile application uses quite simple API over HTTP which serves data in JSON, which is great help for people interested in creating own applications handling statistical data in game.

At this moment here is list of API features that has been discovered:

  • searching players by names
  • searching clans by names
@kolo
kolo / gist:2724734
Created May 18, 2012 11:14 — forked from bartku/gist:2419852
world of tanks api
http://worldoftanks.eu/community/accounts/api/%API_VER%/?source_token=%TOKEN%&search=%NAME%&offset=0&limit=1
http://worldoftanks.eu/community/accounts/%PLAYER_ID%/api/%API_VER%/?source_token=%TOKEN%
http://worldoftanks.eu/community/clans/api/%API_VER%/?source_token=%TOKEN%&search=%CLAN_NAME%&offset=0&limit=1
http://worldoftanks.eu/community/clans/%CLAN_ID%/api/%API_VER%/?source_token=%TOKEN%
http://worldoftanks.eu/personal/api/%API_VER%/?source_token=%TOKEN%
login req: getlogin: https://worldoftanks.eu/auth/create/api/1.0/?source_token=%TOKEN%
gettoken: https://worldoftanks.eu/utils/csrf/api/1.0/?source_token=%TOKEN%
api versions: 1.0, 1.1, 1.2, 1.3
@bartku
bartku / gist:2419852
Created April 19, 2012 08:59
world of tanks api
Searching players:
http://worldoftanks.eu/community/accounts/api/%API_VER%/?source_token=%TOKEN%&search=%NAME%&offset=0&limit=1
Showing player's stats:
http://worldoftanks.eu/community/accounts/%PLAYER_ID%/api/%API_VER%/?source_token=%TOKEN%
Showing player's stats from past:
http://dava2.worldoftanks.com/userstats/2/stats/slice/?platform=android&server=eu&account_id=%PLAYER_ID%&hours_ago=24&hours_ago=168&hours_ago=336