Clans API
Clans API
20/02/17 03:14
The Clans API is our fith API and should give our users more chances to gather information about their clan and anything related to it. That includes a list of the members and servers. To avoid several loads, we do not require the usual limit and start paremeters since we allow - currently - up to 250 members and 15 servers to be loaded instantly. It is pretty simple. You supply the ClanID and will receive all relevant information. Have fun ☺
» We require you to name us with a link to our TB home page when using data from this OR any other TrackBase API

Example:
Information from & copyright at TrackBase.Net
    You have to supply basic paramaters in order to get results. Currently all supported parameters are also required so that everyone knows what paramaters are possible. The following list shows short explanations for each of the possible parameters. Note that the parameters must be supplied as lower case characters.
  • Cid: (integer)
    Self explanatory. Set cid to the clan id you would like to get information of.
  • Order: (string)
    Possible are 'asc' and 'desc'.
    • Members:
      • Asc:
        This orders the memberlist by the amount of time a member has played with that name descending, alternatively by rate descending.
      • Desc:
        This orders the memberlist by the member's rating descending, alternatively by the amount of time they played descending.
    • Servers
      • Asc:
        This orders the serverslist by the name of the server, alternativeley by the amount of (real) players currently playing descending.
      • Desc:
        This orders the serverslist by the amount of (real) players currently playing descending, alternatively by the name of the server.
  • Please note that the return of count will show the following: count(members) + count(servers) + 1 [clan].
Once supplied all information under following URL
https://api.trackbase.net/clans/et.php
, you can gather all information given by us. Please note that we currently only support Wolfenstein: Enemy Territory's players. Other games might follow in the future.
The results are transferred via JSON. You can get information via a JavaScript AJAX request or with PHP's curl extension or any other extensions supporting gathering of online source codes.
Example request
https://api.trackbase.net/clans/et.php?cid=4&order=desc
We hope you like this new interface. If you do, and also if you don't, please give us feedback on the forums @ https://forum.trackbase.net/ and visit our social media web appearances for more information about TrackBase and its upcoming projects.
[ Facebook ] | [ Twitter ] | [ Google+ ]