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

text
https://api.gamemonitoring.ru/servers/10534249
json
{
  "response": {
    "fps": 58,
    "fps_avg": 58,
    "entities_count": 83525,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90284806535869451",
    "domain": null,
    "id": 10534249,
    "ip": "41.76.213.221",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Sandton",
    "description": "![Gamers_republic PVE server|Purge|XP-Skilltree|NPC|Kits|Events|M](https://i.ibb.co/NdxqvxnT/GR3-500x300.png)\nWelcome to Gamers_republic PVE  Founded on October 25, 2023, by ZA_Machete and SparklesMotherFluffer, Gamers_republic started as a passion project with one simple goal:  Create a peaceful, friendly, and fun place for everyone to enjoy Rust.  What began as a small idea has grown into a large, active, and welcoming community. Today, Gamers_republic is a thriving PVE server where players can grind, build, conquer events, and experience Rust without the toxic chaos of traditional servers.  Whether you’re a solo grinder, event hunter, builder, or PvP enthusiast during special events — there’s a place for you here. Server Features  We run a carefully selected combination of premium plugins to deliver a balanced and rewarding experience:  • Abandoned Bases - Player base becomes raidable after 7days of inactivity • XP / Skill Tree System - XP wipes every second month • Backpacks - Don't wipe on force wipe • Purge Event - 24 hours before force wipe • SkinBox • Jet Sleds • Heli Signals • Bradley Drops • Epic Loot • Raidable Bases • Industrial Recycler • Virtual Quarries • BetterTC • BotReSpawn • Stack Everything • IQ Sorter • Deployable Sentry Turrets • Ganja System • PlayerRanks • Waterless Sprinklers. Server Events  Jump into exciting events that keep the server active and competitive:  • NPC Raiders • Gun Game (PvP Action Event) • Guarded Crates • Store Robbery • Custom Admin Events.  There’s always something happening at Gamers_republic.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776853402,
    "score": 0,
    "last_online": 1776874221,
    "icon": null,
    "name": "Gamers_republic PVE server|Purge|XP-Skilltree|NPC|Kits|Events|M",
    "connect": "41.76.213.221:28015",
    "request": "41.76.213.221:28016",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 2,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "ZA",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1762518659,
    "last_update": 1776874221,
    "banned": false,
    "wipe": 1775153471,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2395,
    "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/10534249");
$data = json_decode($json, true);
var_dump($data);