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

text
https://api.gamemonitoring.ru/servers/10025050
json
{
  "response": {
    "fps": 70,
    "fps_avg": 69,
    "entities_count": 305520,
    "world_seed": 1337,
    "world_size": 4096,
    "steam_id": "90284792575333393",
    "domain": null,
    "id": 10025050,
    "ip": "208.115.206.66",
    "port": 28215,
    "query": 28216,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![[EU] Salty Zombies PvE | Skills | Raid | Jetpack | Event](https://vote4sz.com/wp-content/uploads/2024/02/SZ-EU-Server-Banner.png)\nRAIDABLE BASES | ZOMBIES | XP/SKILLS | BOSSES | QUESTS | RAIDING NPCS\r\n\r\nEVENTS: Armored Train, Convoy, Sputnik, Junkyard Showdown, Gas Station, Contributions\r\n\r\nFEATURES: Enchants, Custom Weapons, Jet Packs, Summonable Heli & Bradley, Anti-Grub, Custom Maps, Farm Enchants, Skins, Personal Portals, Virtual Quarries, Unbreakable Minis, Kits, Vote Rewards, Virtual Backpack, Personal Recycler, Stacking Chests, Auto-Looting\r\n\r\nWHY PLAY HERE?\r\n• Progress through 15 unique skill paths including mining, raiding, farming, and more, with gather rates scaling from x1 to x5 before tea or pie bonuses.\r\n• Raid more than 300 unique NPC bases.\r\n• Defend your own base against raiding NPC attacks.\r\n• Survive nightly zombie hordes and take on unique bosses.\r\n• Complete 100+ quests and take part in story-driven server-wide contributions.\r\n• Summon Patrol Helicopters and Bradley APCs right at front of your base.\r\n• Explore fresh custom maps every wipe.\r\n• Use a 16-enchant system on clothing, weapons, and tools to build your own playstyle.\r\n• Access custom weapons like the MLRS Rocket Launcher or an M249 with double magazine size.\r\n• Use enchanted farm equipment like plots, beehives, and chicken coops with fixed stats unaffected by the environment.\r\n• Enjoy weekly skin updates, a large custom skin collection, and the ability to request skins you want added.\r\n• Use the teleport hub system and personal placed portals to travel around the map with ease.\r\n• Play with full anti-grub protection across events, monuments and regural PVE activities.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776478397,
    "score": 0,
    "last_online": 1776825617,
    "icon": null,
    "name": "[EU] Salty Zombies PvE | Skills | Raid | Jetpack | Event",
    "connect": "208.115.206.66:28215",
    "request": "208.115.206.66:28216",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 5,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1755037683,
    "last_update": 1776825617,
    "banned": false,
    "wipe": 1775153394,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1213,
    "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/10025050");
$data = json_decode($json, true);
var_dump($data);