sl.Home | sl.Search | sl.Forum | sl.Settings | sl.Serverlist | sl.Maplist | sl.Team | sl.Wiki |
Splatterladder API - Serverquery, A new feature for cracks is available |
Apr 6 2012, 04:53 AM
Post
#1
|
|
Master of Desaster Group: Management Joined: 7-March 06 From: Wehr Member No.: 23716 |
We implemented a new API: ServerQueryAPI
Now you`re able to use splatterladder generated data for ...your homepage ...your very own statistic tool or whatever you want to. This API offers you the possibility to query the data from up to 10 server listed on SL in XML or JSON format. The answer contains almost all data visible on the server-detail site. For example current players (with ping, xp), all the server flags (punkbuster, tzac, friendly fire and so on) Hot it works: The basepath to the API is et.splatterladder.com/api/squery.php where you have to add the variables you need: format -> xml or json svid -> Splatterladder server ID svadd -> Serveradress (IP:PORT) If you want to query multiple server-ids or adresses, use the variables as array ( svadd[]=xxx.xxx.xxx.xxx:yyyyy ) So if you want to get the data of the server with the id "658158" , the one behind "88.198.32.79:27960" and "88.198.32.79:31111" on JSON format, simply create the URI by concating the variables: et.splatterladder.com/api/squery.php?format=json&svid[]=658158&svadd[]=88.198.32.79:27960&svadd[]=88.198.32.79:31111 You will receive the full JSON object, with a section of , IMO, useful hints. We hope you`ll enjoy this new feature. -------------------- |
|
|
Lo-Fi Version | Time is now: 14th November 2024 - 03:02 AM |