JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/16672676
json
{
  "response": {
    "add_date": 1789684628,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "161.97.157.214:28500",
    "country": "FR",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 16672676,
    "ip": "161.97.157.214",
    "language": "fr",
    "last_update": 1789941449,
    "map": "Fjordur",
    "maxplayers": 10,
    "name": "Sloth's",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 28500,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 28515,
    "request": "161.97.157.214:28515",
    "secured": true,
    "status": false,
    "steam_id": "90292926216747018",
    "version": "361.7",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Lauterbourg",
    "description": null,
    "disabled_modules": [],
    "gamemode": "TestGameMode_AE_C",
    "hidden": false,
    "last_offline": 1789941449,
    "last_online": 1789803193,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 10428,
    "wipe_period": null,
    "MOD0_s": "893735676:67443EA0471C4F8A8C7643AB8E6F13FE",
    "MOD1_s": "1787687640:A3A618E34430AC4F4E9DDCA24C7C93C1",
    "MOD2_s": "632898827:84C59AE44DA74AE937DABCBF9A5561C3",
    "MOD3_s": "902303076:C6CB4D6E497A81C862EAEC9165B864DC",
    "ModId_l": "0",
    "P2PADDR": "90292926216747018",
    "P2PPORT": "28500",
    "LEGACY_i": "0",
    "DayTime_s": "91",
    "OWNINGNAME": "90292926216747018",
    "listentype": "d",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "683",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "10",
    "SESSIONISPVE_i": "1",
    "HASACTIVEMODS_i": "1",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "true",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "sloth's",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "false"
  }
}

Примеры кода

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