JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/498154
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 498154,
    "ip": "37.230.210.5",
    "port": 27015,
    "query": 27015,
    "color": 0,
    "city": "Moscow",
    "description": "G O L D E N - E R A\n\nWelcome to the cool CIS public server\n\n\n- FREE VIP (22:00 - 07:00) - GMT+2\n\n- Mode : Public\n- Connect IP : 37.230.210.5:27015\n- Location : Moscow\n- FPS : 1100 - Only, NO LAG\n- MAPS Count: 50\n- REVIVE TEAMMATES\n\n\n- No bots\n- Good anticheat (Rechecker, AIM detected)\n- Admins online 24/7\n\n\n\n- website : https://golden-cs.ru",
    "game": 10,
    "owner": 30631,
    "boosts": 1,
    "last_offline": 1773992518,
    "score": 5,
    "last_online": 1775993409,
    "icon": null,
    "name": "© G O L D E N - E R A ►    #MEAT74.COM",
    "connect": "37.230.210.5:27015",
    "request": "37.230.210.5:27015",
    "map": "de_bretonia_ge",
    "gamemode": "█   БЕСПЛАТНЫЙ VIP  █",
    "version": "1.1.2.7/Stdio",
    "numplayers": 27,
    "maxplayers": 32,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 149,
    "add_date": 1638185214,
    "last_update": 1775993409,
    "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": 4,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 3,
      "steam_id": 10,
      "name": "Counter-Strike",
      "url": "counter-strike"
    },
    "server_owner": {
      "username": "discordtuk627603",
      "avatar": "no.jpg",
      "last_online": 1673657885
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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