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

text
https://api.gamemonitoring.ru/servers/10742598
json
{
  "response": {
    "steam_id": "90284735836362783",
    "domain": null,
    "id": 10742598,
    "ip": "51.178.176.61",
    "port": 27870,
    "query": 27870,
    "color": 0,
    "city": "Strasbourg",
    "description": "Serveur vanilla PVE en b42.17 par SlipShady ( discord : https://discord.gg/krnCpfMnX3 ) NO ZOMBIES/LOOT RESPAWN",
    "game": 108600,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776704601,
    "score": 0,
    "last_online": 1776942024,
    "icon": null,
    "name": "[FR] ApocaSlip PVE Vanilla",
    "connect": "51.178.176.61:27870",
    "request": "51.178.176.61:27870",
    "map": "Muldraugh, KY",
    "gamemode": "Project Zomboid",
    "version": "42.17",
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1766251105,
    "last_update": 1776942024,
    "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": 972,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 71,
      "steam_id": 108600,
      "name": "Project Zomboid",
      "url": "project-zomboid"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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