JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11305602
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 77193,
    "world_seed": 892416,
    "world_size": 3600,
    "steam_id": "90286466390352898",
    "domain": null,
    "id": 11305602,
    "ip": "155.117.255.23",
    "port": 28031,
    "query": 28032,
    "color": 0,
    "city": "Ashburn",
    "description": "![RustyRev - US 10x | No BPs | Kits | Shop | 28/5](https://img.unbeaten.gg/rrus.png)\nWelcome to RustyRev! \r\nThursday Wipes at 3 PM EST \r\n\r\nFeatures: \r\n- No BPs | Instant Craft | No Workbench\r\n- 10x Gather Rates\r\n- Always Day\r\n- Improved Loot Tables\r\n- Teleporting & Homes\r\n- Shop & Hourly Balance\r\n- Reduced HV/GL Damage\r\n- Other Quality of Life Improvements\r\n\r\nFor more details about the server, visit our website: RustyRev.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779807813,
    "last_online": 1780548631,
    "icon": null,
    "name": "RustyRev - US 10x | No BPs | Kits | Shop | 28/5",
    "connect": "155.117.255.23:28031",
    "request": "155.117.255.23:28032",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774592892,
    "last_update": 1780548631,
    "banned": false,
    "wipe": 1779995308,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4439,
    "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/11305602");
$data = json_decode($json, true);
var_dump($data);