Page 1 of 1

Query PRSPY for data?

Posted: 2015-09-01 11:08
by Avram
Is there a way to query PRSPY app for a server list and for a player list/their score (on specific server)?

I'm looking for a way to check and display on a clan site if any of the clan members are currently playing (and maybe gather their stats over time). I have tried loading and parsing PRSPY HTML code in PHP but it seems the app is ajax-based so without knowing exact URL which to ping to get the data I can't do it :(

Re: Query PRSPY for data?

Posted: 2015-09-01 11:22
by Mineral
Prspy-widget

https://www.realitymod.com/forum/f10-pr ... aying.html

and also this one which is a bit different: https://github.com/blip2/prspy-widget
Had some changes done to allow for some more variation.

They all get their data from here:
https://www.realitymod.com/prspy/json/serverdata.json

Re: Query PRSPY for data?

Posted: 2015-09-01 11:31
by Avram