Skip to content

Instantly share code, notes, and snippets.

@sattellite
Forked from bartku/gist:2419852
Created August 19, 2013 19:47
Show Gist options
  • Save sattellite/6273221 to your computer and use it in GitHub Desktop.
Save sattellite/6273221 to your computer and use it in GitHub Desktop.
World of Tanks API. replace eu to ru and it will work with russian servers.
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
/userstats/2/stats/?server=eu&platform=android&account_id=500662837&from_date=2012-11-06T10%3A24%3A44&to_date=2012-11-20T10%3A24%3A44&interval=24&field=summary.battles_count&field=summary.wins&field=summary.survived_battles&field=experience.max_xp
Dunno why but works only for some accounts, maybe it marks them if they used android app?
Searching clans:
http://worldoftanks.eu/community/clans/api/%API_VER%/?source_token=%TOKEN%&search=%CLAN_NAME%&offset=0&limit=1
Showing clan's stats:
http://worldoftanks.eu/community/clans/%CLAN_ID%/api/%API_VER%/?source_token=%TOKEN%
Personal stats (after logging in via API):
http://worldoftanks.eu/personal/api/%API_VER%/?source_token=%TOKEN%
Login request:
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, 1.5, 1.6, 1.7, 1.8
accounts search: 1.0, 1.1
accounts: 1.0, 1.1, 1.2, 1.3, 1.5, 1.6, 1.7, 1.8
clan search: 1.0
clans: 1.0, 1.1
personal: 1.0
tokens:
WG-WoT_Assistant-1.1.2
WG-WoT_Assistant-1.2.2
WG-WoT_Assistant-1.3.2
Intellect_Soft-WoT_Mobile-site
Intellect_Soft-WoT_Mobile
WG-WoT_Assistant-test
Intellect_Soft-WoT_Mobile-unofficial_stats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment