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

text
https://api.gamemonitoring.ru/servers/1986278
json
{
  "response": {
    "steam_id": "90286491089275932",
    "domain": null,
    "id": 1986278,
    "ip": "156.236.84.39",
    "port": 28014,
    "query": 28015,
    "color": 0,
    "city": "Dallas",
    "description": "![[NA] Willjum's 2x Solo/Duo/Trio | Monday wipes](https://media.discordapp.net/attachments/1087970531527102504/1101108762560970852/RustBanner.png)\nWelcome to [NA] Willjum's 2x Solo/Duo/Trio \r\n\r\n Enjoy a more casual Rust experience with optimized loot tables, slightly higher gather rate, free DLC features, and advanced automatic group limit enforcement and cheater detection. This all packed into a small map with lots of PVP and player interaction.\r\n\r\nGeneral information:\r\n- Wipe schedule: Weekly Monday @ 3pm EST | Monthly BPs\r\n- 3100 Map size\r\n- Buy VIP: Store.willjum.com\r\n- Join Discord: Discord.gg/willjum\r\n- Advanced custom made Anti cheat & Group limit enforcement system\r\n- Active staff \r\n\r\nGameplay Features:\r\n- Hazmat also has cold protection - Use /coffin to convert a few large boxes into coffins - Leaderboards: willjum.com/leaderboard\r\n- Drone Shops, Recyclers & Gambling added to Fishing Villages\r\n- Cozy Custom Outpost (Check out the saloon)\r\n- Optimized Map Generation – We generate 100+ maps each wipe and pick the best one to include all your favorite monuments and build spots on a small map\r\n\r\nModded features:\r\n- 2x gather rate\r\n- Optimized loot tables (Junk removed)\r\n- 2x Craft speed\r\n- Fast nights\r\n- PVP focused map\r\n\r\nRules:\r\n- Rule #1 -- No cheating/Exploiting\r\n- Rule #2 -- No Ban evasion/Cheater Assosiation\r\n- Rule #3 -- No Extreme toxicity/Spam\r\n- Rule #4 -- Don't impersonate staff or the server\r\n- Rule #5 -- Play Trio - Includes Roaming, Raiding, Farming, Traveling\r\nFull list of rules in Discord.gg/willjum",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779894206,
    "last_online": 1780563027,
    "icon": null,
    "name": "[NA] Willjum's 2x Solo/Duo/Trio | Monday wipes",
    "connect": "156.236.84.39:28014",
    "request": "156.236.84.39:28015",
    "map": "Custom Map",
    "gamemode": "Rust",
    "version": "2625",
    "numplayers": 6,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1701165652,
    "last_update": 1780563027,
    "banned": false,
    "wipe": 1780340171,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 806,
    "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/1986278");
$data = json_decode($json, true);
var_dump($data);