JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10747034
json
{
  "response": {
    "steam_id": "90284712800895006",
    "domain": null,
    "id": 10747034,
    "ip": "161.97.159.10",
    "port": 29000,
    "query": 29015,
    "color": 0,
    "city": "Lauterbourg",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776720799,
    "score": 0,
    "last_online": 1776797452,
    "icon": null,
    "name": "URising",
    "connect": "161.97.159.10:29000",
    "request": "161.97.159.10:29015",
    "map": "VRisingWorld",
    "gamemode": "7f08b0e4-f13e-410e-b46b-f16b600df11f",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1766252039,
    "last_update": 1776797452,
    "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": 1456,
    "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/10747034");
$data = json_decode($json, true);
var_dump($data);