Skip to content

Instantly share code, notes, and snippets.

@bartku
Created April 19, 2012 08:59
Show Gist options
  • Select an option

  • Save bartku/2419852 to your computer and use it in GitHub Desktop.

Select an option

Save bartku/2419852 to your computer and use it in GitHub Desktop.

Revisions

  1. bartku revised this gist Nov 20, 2012. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,12 @@ http://worldoftanks.eu/community/accounts/api/%API_VER%/?source_token=%TOKEN%&se
    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

  2. bartku revised this gist Nov 20, 2012. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -30,7 +30,8 @@ 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
    Intellect_Soft-WoT_Mobile-unofficial_stats
  3. bartku revised this gist Nov 19, 2012. 1 changed file with 15 additions and 6 deletions.
    21 changes: 15 additions & 6 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,19 +1,28 @@
    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%

    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%
    http://worldoftanks.eu/personal/api/%API_VER%/?source_token=%TOKEN%

    http://worldoftanks.eu/uc/accounts/500662837/api/1.5/?source_token=Intellect_Soft-WoT_Mobile-unofficial_stats
    http://worldoftanks.eu/uc/accounts/500662837/api/1.7/?source_token=Intellect_Soft-WoT_Mobile-unofficial_stats
    Personal stats (after logging in via API):
    http://worldoftanks.eu/personal/api/%API_VER%/?source_token=%TOKEN%

    login req: getlogin: https://worldoftanks.eu/auth/create/api/1.0/?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.7
    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.7
    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
  4. bartku revised this gist Nov 13, 2012. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -23,4 +23,5 @@ WG-WoT_Assistant-1.1.2
    WG-WoT_Assistant-1.2.2
    Intellect_Soft-WoT_Mobile-site
    Intellect_Soft-WoT_Mobile
    WG-WoT_Assistant-test
    WG-WoT_Assistant-test
    Intellect_Soft-WoT_Mobile-unofficial_stats
  5. bartku revised this gist Nov 13, 2012. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -5,14 +5,15 @@ http://worldoftanks.eu/community/clans/%CLAN_ID%/api/%API_VER%/?source_token=%TO
    http://worldoftanks.eu/personal/api/%API_VER%/?source_token=%TOKEN%

    http://worldoftanks.eu/uc/accounts/500662837/api/1.5/?source_token=Intellect_Soft-WoT_Mobile-unofficial_stats
    http://worldoftanks.eu/uc/accounts/500662837/api/1.7/?source_token=Intellect_Soft-WoT_Mobile-unofficial_stats

    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
    api versions: 1.0, 1.1, 1.2, 1.3, 1.5, 1.7

    accounts search: 1.0, 1.1
    accounts: 1.0, 1.1, 1.2, 1.3
    accounts: 1.0, 1.1, 1.2, 1.3, 1.5, 1.7
    clan search: 1.0
    clans: 1.0, 1.1
    personal: 1.0
  6. bartku revised this gist Oct 26, 2012. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,8 @@ http://worldoftanks.eu/community/clans/api/%API_VER%/?source_token=%TOKEN%&searc
    http://worldoftanks.eu/community/clans/%CLAN_ID%/api/%API_VER%/?source_token=%TOKEN%
    http://worldoftanks.eu/personal/api/%API_VER%/?source_token=%TOKEN%

    http://worldoftanks.eu/uc/accounts/500662837/api/1.5/?source_token=Intellect_Soft-WoT_Mobile-unofficial_stats

    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%

  7. bartku revised this gist Apr 19, 2012. 1 changed file with 14 additions and 8 deletions.
    22 changes: 14 additions & 8 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,15 +1,21 @@
    http://worldoftanks.eu/community/accounts/api/1.0/?source_token=WG-WoT_Assistant-1.1.2&search=eumir&offset=0&limit=1
    http://worldoftanks.eu/uc/accounts/500662837/api/1.1/?source_token=Intellect_Soft-WoT_Mobile-site
    http://worldoftanks.eu/uc/clans/api/1.0/?source_token=WG-WoT_Assistant-1.1.2&search=F-F-F&offset=0&limit=1
    http://worldoftanks.eu/uc/clans/500003654/api/1.1/?source_token=Intellect_Soft-WoT_Mobile-site
    http://worldoftanks.eu/personal/api/1.0/?source_token=WG-WoT_Assistant-1.2.2
    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://" + new AssistantHelper(this.context).getServer() + "/auth/create/api/1.0/?source_token=WG-WoT_Assistant-1.2.2
    gettoken: "https://" + new AssistantHelper(this.context).getServer() + "/utils/csrf/api/1.0/?source_token=WG-WoT_Assistant-1.2.2
    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

    source_token:
    accounts search: 1.0, 1.1
    accounts: 1.0, 1.1, 1.2, 1.3
    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
    Intellect_Soft-WoT_Mobile-site
  8. bartku created this gist Apr 19, 2012.
    17 changes: 17 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    http://worldoftanks.eu/community/accounts/api/1.0/?source_token=WG-WoT_Assistant-1.1.2&search=eumir&offset=0&limit=1
    http://worldoftanks.eu/uc/accounts/500662837/api/1.1/?source_token=Intellect_Soft-WoT_Mobile-site
    http://worldoftanks.eu/uc/clans/api/1.0/?source_token=WG-WoT_Assistant-1.1.2&search=F-F-F&offset=0&limit=1
    http://worldoftanks.eu/uc/clans/500003654/api/1.1/?source_token=Intellect_Soft-WoT_Mobile-site
    http://worldoftanks.eu/personal/api/1.0/?source_token=WG-WoT_Assistant-1.2.2

    login req: getlogin: "https://" + new AssistantHelper(this.context).getServer() + "/auth/create/api/1.0/?source_token=WG-WoT_Assistant-1.2.2
    gettoken: "https://" + new AssistantHelper(this.context).getServer() + "/utils/csrf/api/1.0/?source_token=WG-WoT_Assistant-1.2.2

    api versions: 1.0, 1.1, 1.2, 1.3

    source_token:
    WG-WoT_Assistant-1.1.2
    WG-WoT_Assistant-1.2.2
    Intellect_Soft-WoT_Mobile-site
    Intellect_Soft-WoT_Mobile
    WG-WoT_Assistant-test