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

text
https://api.gamemonitoring.ru/servers/3298534
json
{
  "response": {
    "fps": 117,
    "fps_avg": 121,
    "entities_count": 114158,
    "world_seed": 390047282,
    "world_size": 4500,
    "steam_id": "90285650790614028",
    "domain": null,
    "id": 3298534,
    "ip": "216.39.240.12",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Ashburn",
    "description": "![RustConcepts 3x PVE | Bi-Weekly | Raid Bases | RP [US]](https://www.dropbox.com/scl/fi/cnz3u3tgn0du2ivnaz71i/RustConcepts_Banner_Resize.png?rlkey=kout7hpa07u7vcwdvuvofkbx0&dl=1)\n*Welcome to RustConcepts 3x PVE! \r\n Whether you're a seasoned Rust player or just starting out, our servers offer something for everyone! \r\n \r\n -3x Gather, 3x Scrap \r\n -Map Wipe Every 2 Weeks!\r\n -Monthly SkillTree Perks\r\n -BGrade, Up, Easy Repair, Extended Workbench \r\n -Increased Stack Sizes, Quick Smelt, Craft, Sort \r\n -Backpacks, Personal Vehicles, Loot Restore \r\n -Quick Teleports and /home \r\n -Extensive Skinbox library \r\n -Starter, Build, and Farming Kits \r\n -Private Bradley and Heli Signals \r\n -5 levels of Raidable NPC Bases \r\n -Raidable Abandoned Player Bases \r\n -NPC Raiders, Roamers, and at Monuments \r\n -Armored Train Event, Airfield Event\r\n -Harbor and Satellite Dish Events\r\n -Jet and Sputnik Events\r\n -4 Levels of Convoy Event \r\n -Rp, Shop, Vote Rewards \r\n -Active Admins \r\n \r\n Bonus permissions just for joining our Discord. Come join us and help build the ultimate PVE server! \r\n \r\n Website: www.RC-Servers.com \r\n \r\n Discord: https://discord.gg/KmFxfqDcaM",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778054584,
    "score": null,
    "last_online": 1778650218,
    "icon": null,
    "name": "RustConcepts 3x PVE | Bi-Weekly | Raid Bases | RP [US]",
    "connect": "216.39.240.12:28015",
    "request": "216.39.240.12:28017",
    "map": "RC-Servers.com",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1709856384,
    "last_update": 1778650218,
    "banned": false,
    "wipe": 1778177018,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2448,
    "language": "en",
    "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/3298534");
$data = json_decode($json, true);
var_dump($data);