JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11750887
json
{
  "response": {
    "steam_id": "90286652156324890",
    "domain": null,
    "id": 11750887,
    "ip": "207.216.171.194",
    "port": 9876,
    "query": 9877,
    "project_id": null,
    "color": 0,
    "city": "Surrey",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780704252,
    "last_online": 1780814561,
    "icon": null,
    "name": "Black Lagoon",
    "connect": "207.216.171.194:9876",
    "request": "207.216.171.194:9877",
    "map": "VRisingWorld",
    "gamemode": "811e735b-ae3b-4179-9e40-de5611d95b83",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1780519151,
    "last_update": 1780814561,
    "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": 3806,
    "language": "en",
    "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/11750887");
$data = json_decode($json, true);
var_dump($data);