JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10506518
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10506518,
    "ip": null,
    "port": null,
    "query": null,
    "project_id": null,
    "color": 0,
    "city": null,
    "description": null,
    "game": 1857950,
    "owner": 138024,
    "boosts": 1,
    "last_offline": 1762494724,
    "last_online": 1761619817,
    "icon": null,
    "name": "Aegis PvPvE - New Player Welcome - No Offline Raid - Wipe 25/10",
    "connect": null,
    "request": null,
    "map": "Champlain Valley",
    "gamemode": "VEIN",
    "version": null,
    "numplayers": 0,
    "maxplayers": 24,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "IT",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1761365818,
    "last_update": 1762494724,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1365,
    "language": "it",
    "parked": true,
    "app": {
      "id": 1530675,
      "steam_id": 1857950,
      "name": "VEIN",
      "url": "vein"
    },
    "server_owner": {
      "username": "Daniel_Maffei",
      "avatar": "ae11f6e5-e4ec-4cf0-9765-c5d1289173cf.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10506518");
$data = json_decode($json, true);
var_dump($data);