JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11116035
json
{
  "response": {
    "fps": 192,
    "fps_avg": 189,
    "entities_count": 97201,
    "world_seed": 1337,
    "world_size": 4200,
    "steam_id": "90286604276766741",
    "domain": null,
    "id": 11116035,
    "ip": "88.99.64.154",
    "port": 60404,
    "query": 60406,
    "project_id": null,
    "color": 0,
    "city": "Falkenstein",
    "description": "![NOOBAFIED MAIN 3x SOLO ONLY|JUST WIPED 04/06/26](https://i.postimg.cc/PqDfK924/IMG-3527.png)\nNOOBAFIED MAIN 3x SOLO ONLY\r\n•Max Group: 1\r\n•Timed offline Raid protection\r\n•Events\r\n•Kits\r\n•3x Gather Rates/3x Loot/3x Crafting Speed/Faster smelting&Recycling\r\n•TP & Home\r\n•Increased StackSize\r\n•Custom Improved LootTables\r\n•Player stats with leaderboard /stats\r\n•Reduced Upkeep\r\n•Active Staff 24/7",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596861,
    "last_online": 1780909232,
    "icon": null,
    "name": "NOOBAFIED MAIN 3x SOLO ONLY|JUST WIPED 04/06/26",
    "connect": "88.99.64.154:60404",
    "request": "88.99.64.154:60406",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1770112795,
    "last_update": 1780909232,
    "banned": false,
    "wipe": 1780596737,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4183,
    "language": "de",
    "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/11116035");
$data = json_decode($json, true);
var_dump($data);