Jump to content


Reading Profil Data of a player via PHP?


  • This topic is locked This topic is locked
4 replies to this topic

ssgtom #1 Posted 01 March 2013 - 02:51 PM

    Corporal

  • Player
  • 38605 battles
  • 190
  • Member since:
    02-12-2012
Hi,

for a clan Webpage Project I would like to have some data of the Players in a own database. I would like to read their Profile (Winrate, Damage... Amount of Tier10 tanks...) and to put this data in a own database.

Where do pages like wot-news.com or noobmeter.com get their data from? Do they grab it directly from the official Webpage or is their some Kind of API?

So does anybody know a php script or an API to get this data?

Regards

Edited by ssgtom, 01 March 2013 - 02:51 PM.


KawaGreen #2 Posted 01 March 2013 - 02:55 PM

    Lieutenant

  • Clan Diplomat
  • 13307 battles
  • 1,931
  • [PIZZA] PIZZA
  • Member since:
    04-30-2011
I know there is an API where you just give the player nickname id and it returns I think a JSON array.
I'll look it up and edit my post if I find it.
I think it's this (example): http://worldoftanks...._Assistant-test

Edited by KawaGreen, 01 March 2013 - 03:00 PM.


ssgtom #3 Posted 01 March 2013 - 03:09 PM

    Corporal

  • Player
  • 38605 battles
  • 190
  • Member since:
    02-12-2012
Looks great, +1 for that fast and good answer. Thx alot.

Just have to find out how to get Player ID now, or do you have a fast solution for this one?

Greets

EDIT: I know that you can see Player ID in URL when you search for a specific Player. But I am looking for a way that I can automate.

Edited by ssgtom, 01 March 2013 - 03:12 PM.


KawaGreen #4 Posted 01 March 2013 - 04:08 PM

    Lieutenant

  • Clan Diplomat
  • 13307 battles
  • 1,931
  • [PIZZA] PIZZA
  • Member since:
    04-30-2011
Ah no, sorry no idea, I don't develop anything for wot, I just stumbled on it a couple of weeks ago :).

smurf0969 #5 Posted 02 March 2013 - 12:04 PM

    Private

  • Player
  • 15089 battles
  • 35
  • [THEUN] THEUN
  • Member since:
    09-30-2012
You could try the clan api
http://worldoftanks....e_token=%TOKEN%




1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users