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

text
https://api.gamemonitoring.ru/servers/12065860
json
{
  "response": {
    "dedicated": true,
    "gametype": "{\"mapId\":0,\"version\":\"1.69\",\"hasShop\":false}",
    "os": "l",
    "product": "885570",
    "region": -1,
    "steam_id": "90288711108541464",
    "domain": null,
    "id": 12065860,
    "ip": "5.180.34.143",
    "port": 25575,
    "query": 25575,
    "project_id": null,
    "color": 0,
    "city": "Paris",
    "description": null,
    "game": 885570,
    "owner": null,
    "boosts": 1,
    "last_offline": 1784097194,
    "last_online": 1783890873,
    "icon": null,
    "name": "Héberger par FrenchCloud !",
    "connect": "5.180.34.143:25575",
    "request": "5.180.34.143:25575",
    "map": "Amboise",
    "gamemode": null,
    "version": "1.10.0.0",
    "numplayers": 0,
    "maxplayers": 25,
    "bots": 0,
    "secured": true,
    "private": null,
    "country": "FR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1783800212,
    "last_update": 1784097194,
    "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": 223,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 48590,
      "steam_id": 885570,
      "name": "Nova-Life: Amboise",
      "url": "nova-life-amboise"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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