IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Splatterladder API - Serverquery, A new feature for cracks is available
schnoog
post Apr 6 2012, 04:53 AM
Post #1


Group Icon 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.


--------------------



Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th November 2024 - 07:13 PM