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

text
https://api.gamemonitoring.ru/servers/222136
json
{
  "response": {
    "modded": true,
    "fps": 36,
    "fps_avg": 35,
    "entities_count": 171036,
    "world_seed": 482403641,
    "world_size": 4500,
    "steam_id": "90285607361169423",
    "domain": null,
    "id": 222136,
    "ip": "5.9.101.147",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Falkenstein",
    "description": "![DutchRust PVE Zombies | Raidable Bases](http://5.9.101.147/rust/dutch2.png)\nWelcome at DutchRust PVE.\r\n- Server is PVE Roleplay also perfect for Starters.\r\n- A modded server that still gives you the RUST experience.\r\n- You can read all about the extra's ingame with /info.\r\n- Discord: https://discord.gg/XC9rdA6\r\n- Yes there are alot of Zombies, but a headshot is a kill!\r\n- We keep our rules simple and allow you to play the game how you see fit.\r\n- However no racism of any kind is tolerated.\r\n- No cheats or hacks (steam check).\r\n- The Server will be wiped every Month.\r\n- But you will keep your BP's and progress skills.\r\nPlugins installed:\r\n- Ferry Terminal Event\r\n- AirfieldEvent\r\n- ArcticBaseEvent\r\n- Armored Train\r\n- Backpacks\r\n- CargoPlaneCrash\r\n- Convoy\r\n- DangerousTreasures\r\n- HomeRecycler\r\n- LSkins\r\n- Quests\r\n- Raidable Bases\r\n- RemoverTool\r\n- ShipWreck\r\n- SignArtist\r\n- Skilltree\r\n- Sputnik\r\n- Trade\r\n- VirtualQuarries\r\n- VirtualSmelter\r\n- WaterBases\r\n- Locks on vehicles, horses\r\n- ZombieHorde & much more; see /info ingame\r\n- Have Fun.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778473980,
    "score": null,
    "last_online": 1778542215,
    "icon": null,
    "name": "DutchRust PVE Zombies | Raidable Bases",
    "connect": "5.9.101.147:28015",
    "request": "5.9.101.147:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 7,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 64,
    "add_date": 1582979118,
    "last_update": 1778542215,
    "banned": false,
    "wipe": 1778176819,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1104,
    "language": "de",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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