[TC] Gaming Forums
What do these mean? - Printable Version

+- [TC] Gaming Forums (https://forum.city-driving.co.uk)
+-- Forum: General Information (/forumdisplay.php?fid=1)
+--- Forum: General Discussions (/forumdisplay.php?fid=4)
+---- Forum: Developer Forum (/forumdisplay.php?fid=221)
+---- Thread: What do these mean? (/showthread.php?tid=34157)



What do these mean? - Tommer - 2021-12-04 14:50

The response I get from the Public Server Status api is totally different to what is in the documentation, and I'm not sure what the abbreviations mean:-

docs https://apidocs.tc-gaming.co.uk/apis/public-json-api

Expecting output like

Code:
{
    "server": "One",
    "time": 1490493497160,
    "players": {
        "17": {
            "siren": false,
            "med": false,
            "caution": false,
            "tow": false,
            "cop": false,
            "isChased": false,
            "isJoining": false,
            "hazard": false
        },
        ...
    }
}

But instead if I go to https://api.tc-gaming.co.uk/json/status_three.json

I get output like

Code:
{
  "t": 1638628871822,
  "n": "W",
  "tk": "KY3X",
  "p": {
    "1": {
      "u": 1,
      "p": 78,
      "un": "filsoof",
      "nn": "^7[COP]^1Zero",
      "f": 2,
      "us": 0,
      "x": 140.7,
      "y": 131.13,
      "h": 149.19,
      "s": 0,
      "l": "^3OFFROAD",
      "sl": 0,
      "b": 100
    },
    "3": {
      "u": 3,
      "p": 26,
      "un": "ClasK_03",
      "nn": "^7•^2‹[CSR] ^7Clas",
      "f": 1,
      "us": 0,
      "x": 192.97,
      "y": 103.54,
      "h": 64.3,
      "s": 24.16,
      "l": "Autobahn North",
      "sl": 44.44,
      "b": 0
    },
What do these abbreviations all mean?
Confused


RE: What do these mean? - Chuck - 2021-12-04 15:26

Please have a look here

https://app.swaggerhub.com/apis/pedder556556/TC-CityDriving-API/1.0#/JsonLiveStatus