JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10605750
json
{
  "response": {
    "fps": 60,
    "fps_avg": 58,
    "entities_count": 112746,
    "world_seed": 2065572241,
    "world_size": 4500,
    "steam_id": "90286604149261331",
    "domain": null,
    "id": 10605750,
    "ip": "66.51.99.28",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Dallas",
    "description": "![Rangers 15x PVE|Monthly|CustomWeapons|Quests|Raidablebases](https://cdn3.mapstr.gg/4ae347306503557634b38ea56210a8a6.png)\nRangers 15x PVE Thank You For Joining \r\n Don't Forget To Join Rangers Discord Click The Visit WebSite Button \r\n Monthly Map Wipes When Rust Force Wipe \r\n BluePrint And BackPack Never Wipe \r\n 15x Gather \r\n Simple PVE Protection \r\n *VIP* https://rangers15xserver.tip4serv.com/ \r\n Kits  \r\n Quests \r\n JetPack \r\n Skins \r\n SkillTree  \r\n Large BackPack \r\n Cooking \r\n Shop \r\n Raidable Bases \r\n VirtualQuarries",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780623197,
    "last_online": 1780596813,
    "icon": null,
    "name": "Rangers 15x PVE|Monthly|CustomWeapons|Quests|Raidablebases",
    "connect": "66.51.99.28:28015",
    "request": "66.51.99.28:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1763321689,
    "last_update": 1780623197,
    "banned": false,
    "wipe": 1780596586,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 9975,
    "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/10605750");
$data = json_decode($json, true);
var_dump($data);