JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/1743333
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 1743333,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "[{\"id\":\"9R2Q0QlSI0\",\"type\":\"paragraph\",\"data\":{\"text\":\"We are proud to bring you our Legacy server on The Isle, Chaos Theory! Our Isle Legacy server is a 50 player slot using the Isle V3 map!\\n\\nOur server name is: Chaos Theory (Noob friendly, High AI) Focus on semi-realism style play, increased\\n group packing limits, herbivore aggression is allowed, nest protection,\\n and less in-game rules compared to larger servers.\\n\\n- Our admins are dedicated and care about YOUR in game experience. Please join our Discord ([discord.gg/chaos-theory](https://discord.gg/chaos-theory)) for more details, including rules, giveaways, events and we hope to see you on our server! Happy Hunting! \"}}]",
    "game": 376210,
    "owner": 111257,
    "boosts": 1,
    "last_offline": 1750457066,
    "score": 5,
    "last_online": 1743208233,
    "icon": null,
    "name": "TCT - The Chaos Theory (Noob Friendly)",
    "connect": null,
    "request": null,
    "map": "Isle V3",
    "gamemode": "Survival",
    "version": null,
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1699431155,
    "last_update": 1750457066,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 345,
    "language": "de",
    "parked": true,
    "app": {
      "id": 136,
      "steam_id": 376210,
      "name": "The Isle",
      "url": "the-isle"
    },
    "server_owner": {
      "username": "MilkyAtlas",
      "avatar": "cade6fdf-d92a-4c63-9362-0e903fdd4981.jpg",
      "last_online": 1743350746
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/1743333");
$data = json_decode($json, true);
var_dump($data);