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

text
https://api.gamemonitoring.ru/servers/13899942
json
{
  "response": {
    "add_date": 1787267273,
    "app": {
      "id": 1626086,
      "name": "ARK: Survival Ascended",
      "steam_id": 2399830,
      "url": "ark-survival-ascended"
    },
    "color": 0,
    "connect": "85.190.136.135:6000",
    "country": "US",
    "domain": null,
    "game": 2399830,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 13899942,
    "ip": "85.190.136.135",
    "language": "en",
    "last_update": 1794777499,
    "map": "TheVolcano_WP",
    "maxplayers": 20,
    "name": "Dinocity",
    "numplayers": 0,
    "official": false,
    "points": 30,
    "port": 6000,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 6000,
    "request": "85.190.136.135:6000",
    "secured": null,
    "status": true,
    "steam_id": null,
    "version": "97.21",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Клифтон",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1793005835,
    "last_online": 1794777499,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 10138,
    "wipe_period": null,
    "isPve": false,
    "modIds": "1382641,986540,1315440,1166953,928824,939874,928597,941467,931047,937546,928708,928818,942024,935408,929299,929578,941697,928603,929785,928565,928621,929420,930494,941656,932129,931874,1007609,941978,1034673,932770,1040043,961162,965961,981391,1009115,928548,932789,1126972,930684,1106965,1069445,1188679,1201667,1149214,1136679,1258530,950239,935528,1101699,930601,1137407,940786,1151105,939228,929110,1220093,1105106,972484,970540,953108,956237,946694,1415463,1510793,1438798,1444675,1488687,1569354,1522542,1539107,1395262,978862,1310904,1218463,955932,987274,1630761,1263106",
    "dayTime": 85,
    "battleye": false,
    "gameMode": "TestGameMode_C",
    "clusterId": "mkHsYk7foWbyUQAgZyRi9yB9mf84Of8SC4gkQLun0xc",
    "sessionId": "52fc6e5e2f58463f95ffea4edd622420",
    "modFileIds": "9505960,9417095,9417434,9419350,9517278,9417425,9416522,9419886,9418251,9417353,9416336,9417249,9416344,9416260,9417438,9416682,9416741,9417370,9416789,9419874,9416416,9416252,9416428,9420233,9421516,9487842,9417446,9418378,9466284,9439657,9486737,9417383,9418255,9418115,9540971,9524492,9418111,9440531,9417836,9441678,9462372,9416938,9484406,9403629,9403641,9443056,9487236,9416765,9420217,9419744,9481803,9416914,9421822,9417807,9416311,9550438,9505910,9417201,9505875,9417408,9517495,9416709,9439424,9421028,9488219,9439416,9441705,9420587,9421212,9421345,9403925,9418587,9418099,9403738,9417287,9392590,9445558,9392669",
    "sessionName": "Dinocity - (v97.21)",
    "platformType": "PC+PS5+XSX+WINGDK"
  }
}

Примеры кода

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