Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/6842667
json
{
  "response": {
    "fps": 84,
    "fps_avg": 92,
    "entities_count": 142242,
    "world_seed": 331552232,
    "world_size": 4800,
    "steam_id": "90284793996821528",
    "domain": null,
    "id": 6842667,
    "ip": "185.180.2.36",
    "port": 28993,
    "query": 27993,
    "color": 0,
    "city": "Prague",
    "description": "RAID HOURS! RAIDABLE BASES! BEGINNER FRIENDLY! 2X GATHER!\r\nLAST WIPED ON 2.4.26 NEXT WIPE 7.5.26 NO BP WIPE\r\nZákaz toxicity: Nenávistné projevy, rasismus, urážky a ponižování\r\nZákaz použivání cheatu, bugu a exploitu\r\nRaid hours Po-Pá 18:00 až 23:00, So-Ne 8:00 až 24:00\r\nFair play: zákaz doorcampingu, buď přátelský k \r\nzačátečníkům.\r\nZákaz griefování monumentů se safe zónou\r\nV Chatu je zákaz spamování, trollingu a reklamy\r\nRESPEKTUJ PRAVIDLA, NEBO TÁHNI !!!\r\n\r\nProhibited toxicity: Hate speech, racism, insults or humiliation\r\nProhibited using cheats, bugs and exploits\r\nRaid hours Mo-Fr 6pm to 11pm, Sa-Su 8am to 12pm\r\nFair play: Prohibition of doorcamping. be kind to begginers\r\nProhibited griefing of monuments that has safe zone\r\nProhibited spaming, trolling and advertisment in Chat\r\nRESPECT RULES, OR LEAVE !!!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775154129,
    "score": 0,
    "last_online": 1776873618,
    "icon": null,
    "name": "CZ/SK/EU BEGINNERS X2 - MAX QUAD",
    "connect": "185.180.2.36:28993",
    "request": "185.180.2.36:27993",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 6,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CZ",
    "status": true,
    "votes": 0,
    "points": 65,
    "add_date": 1733665293,
    "last_update": 1776873618,
    "banned": false,
    "wipe": 1775154514,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1058,
    "language": "cs",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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