JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11510995
json
{
  "response": {
    "fps": 218,
    "fps_avg": 212,
    "entities_count": 49776,
    "world_seed": 1,
    "world_size": 3000,
    "steam_id": "90286266125796356",
    "domain": null,
    "id": 11510995,
    "ip": "157.85.87.162",
    "port": 24765,
    "query": 24766,
    "color": 0,
    "city": "Amsterdam",
    "description": "![RUSTHOLLANDIA.NL 2X Weekly Solo/Duo/Trio/Quad](https://github.com/Chin0303/RustHollandiaFiles/blob/main/content.png?raw=true)\nRUSTHOLLANDIA.NL 2X Weekly Quad\r\n- Elke Donderdag om 17:00 Wipe\r\n-  2x Gather Rates\r\n- 50x Resource Stack Size\r\n- Verlengde Workbench Range\r\n- Versneld smelten/recyclen/craften\r\n- Shared blueprints",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596217,
    "last_online": 1779936623,
    "icon": null,
    "name": "RUSTHOLLANDIA.NL 2X Weekly Solo/Duo/Trio/Quad",
    "connect": "157.85.87.162:24765",
    "request": "157.85.87.162:24766",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779353836,
    "last_update": 1780596217,
    "banned": false,
    "wipe": 1778768478,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12092,
    "language": "nl",
    "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/11510995");
$data = json_decode($json, true);
var_dump($data);