JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11759776
json
{
  "response": {
    "steam_id": "90286838061392919",
    "domain": null,
    "id": 11759776,
    "ip": "216.39.241.55",
    "port": 25565,
    "query": 27018,
    "project_id": null,
    "color": 0,
    "city": "Dallas",
    "description": "![THE ISLAND » 3X MAX8 | BOUNTIES | KITS | JUST WIPED](https://i.imgur.com/XFge6H4.png)\nWipe: Every Thursday @ 2 PM EST\r\nBlueprints: Wiped Monthly\r\nRates: 3x Gather | 3x Smelt | 3x Craft\r\nMap Size: 3800 — hand-crafted & optimized for balanced PvP\r\n\r\nFeatures:\r\n- 3x modded for a faster, more rewarding experience\r\n- Optimized for smooth performance & stability\r\n- Combined Outpost + Bandit Camp for convenience\r\n- Increased limits (team UI, bag count, map markers, etc.)\r\n- Hosted on high-end, low-latency hardware\r\n\r\nRules:\r\n- No cheating, scripting, or unauthorized third-party software\r\n- No EAC or The Island ban evasion (within 90 days)\r\n- No glitch or bug abuse — report any issues\r\n- No toxicity, racism, or hate speech\r\n- Max 8 players per base/TC (including codelocks)\r\n- No teaming or alliances between groups\r\n\r\nAdmins reserve the right to remove players violating community standards.\r\nFull rules available on Discord.\r\n\r\nDiscord: https://discord.gg/Yj9ss9VYz9\r\nSupport the server: store.theislandrust.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780952665,
    "last_online": 1781133626,
    "icon": null,
    "name": "THE ISLAND » 3X MAX8 | BOUNTIES | KITS | JUST WIPED",
    "connect": "216.39.241.55:25565",
    "request": "216.39.241.55:27018",
    "map": "The Island",
    "gamemode": "Rust",
    "version": "2627",
    "numplayers": 10,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 65,
    "add_date": 1780931734,
    "last_update": 1781133626,
    "banned": false,
    "wipe": 1780952784,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1011,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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