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

text
https://api.gamemonitoring.ru/servers/10168083
json
{
  "response": {
    "add_date": 1756283416,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "203.135.101.57:7757",
    "country": "CN",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 10168083,
    "ip": "203.135.101.57",
    "language": "zh",
    "last_update": 1794757539,
    "map": "TheCenter",
    "maxplayers": 127,
    "name": "11.15新开百倍/四通中心/S+/原始恐惧/送2.0搜WX - (v",
    "numplayers": 47,
    "official": null,
    "points": 56,
    "port": 7757,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27025,
    "request": "203.135.101.57:27025",
    "secured": true,
    "status": true,
    "steam_id": "90297482498977815",
    "version": "1.0.0.0",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Ханчжоу",
    "description": null,
    "disabled_modules": [],
    "gamemode": "TestGameMode_Primal_Fear_C",
    "hidden": false,
    "last_offline": 1794644699,
    "last_online": 1794757539,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 407,
    "wipe_period": null,
    "MOD0_s": "839162288:9FE7C03448AFC47F74ADCC8DCA56997D",
    "MOD1_s": "899987403:C565D4BD406C7FC93D4C60BBB9666034",
    "MOD2_s": "2200048898:6E3081D1440A07849A5BFF997D93FACA",
    "MOD3_s": "1315573129:DDDA6FD841F237830FB50DB98DDF7057",
    "ModId_l": "0",
    "P2PADDR": "90297482498977815",
    "P2PPORT": "7757",
    "LEGACY_i": "0",
    "DayTime_s": "1",
    "OWNINGNAME": "90297482498977815",
    "listentype": "d",
    "ClusterId_s": "X_78CA02F4",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "683",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "92",
    "SESSIONISPVE_i": "0",
    "HASACTIVEMODS_i": "1",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "CUSTOMSERVERNAME_s": "11.15新开百倍/四通中心/s+/原始恐惧/送2.0搜wx",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "false"
  }
}

Примеры кода

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