JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11500990
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 150097,
    "world_seed": 1130623795,
    "world_size": 5000,
    "steam_id": "90286575431053313",
    "domain": null,
    "id": 11500990,
    "ip": "176.9.63.179",
    "port": 28025,
    "query": 28026,
    "color": 0,
    "city": "Falkenstein",
    "description": "![Rustageddon Chill | Solo/Duo/Trio | No BP wipe](https://cdn.discordapp.com/attachments/1367802499196518455/1499429417917612244/ChatGPT_Image_30._4._2026_17_16_51.png?ex=69f4c3f7&is=69f37277&hm=16fa617237a3feb10f6681ff26f92e3984e07f20108bdc00b47d7520c7ba8d30&)\nFriendly chill server for casual players.\r\nNo griefing | Respect others.\r\n\r\n• Vanilla / Vanilla+ gameplay\r\n• Relaxed \r\n• Small community focus\r\n\r\nJust build, explore, and enjoy Rust peacefully.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780087417,
    "last_online": 1780579842,
    "icon": null,
    "name": "Rustageddon Chill | Solo/Duo/Trio | No BP wipe",
    "connect": "176.9.63.179:28025",
    "request": "176.9.63.179:28026",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207166,
    "last_update": 1780579842,
    "banned": false,
    "wipe": 1778178306,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4683,
    "language": "de",
    "parked": false,
    "app": {
      "id": 252490,
      "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/11500990");
$data = json_decode($json, true);
var_dump($data);