JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11623717
json
{
  "response": {
    "steam_id": "90286236126135301",
    "domain": null,
    "id": 11623717,
    "ip": "92.204.164.5",
    "port": 20010,
    "query": 20011,
    "project_id": null,
    "color": 0,
    "city": "Strasbourg",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470424,
    "last_online": 1780751572,
    "icon": null,
    "name": "panlk",
    "connect": "92.204.164.5:20010",
    "request": "92.204.164.5:20011",
    "map": "VRisingWorld",
    "gamemode": "a45837e6-1eaa-4944-bd2f-d90a8a081971",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1779916124,
    "last_update": 1780751572,
    "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": 2647,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 55075,
      "steam_id": 1604030,
      "name": "V Rising",
      "url": "v-rising"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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