Jump to content


Any automated way to get player ID?


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

ssgtom #1 Posted 01 March 2013 - 07:42 PM

    Corporal

  • Player
  • 38605 battles
  • 190
  • Member since:
    02-12-2012
I am having a database with the nicknames of the Players of our clan. Is there any way to receive their Players ID automatically (via PHP)?

Don't want to check for each single one by Hand...

Regards

ssgtom #2 Posted 04 March 2013 - 01:12 AM

    Corporal

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

really nobody knows? Please help ;)

eumir #3 Posted 04 March 2013 - 09:20 AM

    Lance-corporal

  • Player
  • 11142 battles
  • 78
  • Member since:
    05-12-2011
There are 2 ways I can think of at the moment:
1) send a request at
http://worldoftanks....s/named/ssgtom/
and catch redirection, it will contain player ID
http://worldoftanks....2416153-ssgtom/
2) use search option through unofficial API, handle JSON at
http://worldoftanks....fset=0&limit=10
- however if account name is very common you might iterate through a lot of fields.

ssgtom #4 Posted 05 March 2013 - 03:37 AM

    Corporal

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

View Posteumir, on 04 March 2013 - 09:20 AM, said:

There are 2 ways I can think of at the moment:
1) send a request at
http://worldoftanks....s/named/ssgtom/
and catch redirection, it will contain player ID
http://worldoftanks....2416153-ssgtom/
2) use search option through unofficial API, handle JSON at
http://worldoftanks....fset=0&limit=10
- however if account name is very common you might iterate through a lot of fields.

Thank you, that was excactly what I was looking for. +1 for you ;)

Edited by ssgtom, 05 March 2013 - 03:37 AM.





1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users