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
Query PRSPY for data?
-
Avram
- PR:BF2 Contributor
- Posts: 27
- Joined: 2015-08-06 12:50
Query PRSPY for data?
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
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
- Mineral
- Retired PR Developer
- Posts: 8534
- Joined: 2012-01-02 12:37
- Location: Belgium
Re: Query PRSPY for data?
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
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
-
Avram
- PR:BF2 Contributor
- Posts: 27
- Joined: 2015-08-06 12:50
Re: Query PRSPY for data?
This is all I need. Thanks!

