Query PRSPY for data?

General discussion of the Project Reality: BF2 modification.
Post Reply
Avram
PR:BF2 Contributor
Posts: 27
Joined: 2015-08-06 12:50

Query PRSPY for data?

Post 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 :(
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Re: Query PRSPY for data?

Post 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
Image
Avram
PR:BF2 Contributor
Posts: 27
Joined: 2015-08-06 12:50

Re: Query PRSPY for data?

Post by Avram »

Post Reply

Return to “PR:BF2 General Discussion”