JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/8849783
json
{
  "response": {
    "fps": 66,
    "fps_avg": 71,
    "entities_count": 137898,
    "world_seed": 2545,
    "world_size": 5000,
    "steam_id": "90284793595327513",
    "domain": null,
    "id": 8849783,
    "ip": "89.190.5.80",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Kaustinen",
    "description": "![[EU/FIN] Serene Island 5K](https://sereneisland.eu/SereneIsland2026.png)\nLooking for a server to start your journey on RUST? Then Serene Island is for you! ... Or is it? Pain and agony may accompany you here as well. This server is mostly just for chilling, monthly wipes.\r\n\r\nRules?\r\nYes, don't be an ass, or toxic towards other players. Hacking, racism, and such will get you banned forever!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776826995,
    "score": 0,
    "last_online": 1776853223,
    "icon": null,
    "name": "[EU/FIN] Serene Island 5K",
    "connect": "89.190.5.80:28015",
    "request": "89.190.5.80:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1746266839,
    "last_update": 1776853223,
    "banned": false,
    "wipe": 1775584319,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3333,
    "language": "fi",
    "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/8849783");
$data = json_decode($json, true);
var_dump($data);