JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11691929
json
{
  "response": {
    "steam_id": "90286656621082628",
    "domain": null,
    "id": 11691929,
    "ip": "61.47.243.49",
    "port": 9876,
    "query": 9877,
    "project_id": null,
    "color": 0,
    "city": "Seo-gu",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780984409,
    "last_online": 1780723284,
    "icon": null,
    "name": "moon yeol eo",
    "connect": "61.47.243.49:9876",
    "request": "61.47.243.49:9877",
    "map": "VRisingWorld",
    "gamemode": "939987bb-7e43-44c6-aa47-0694cbe18f63",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "KR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780225008,
    "last_update": 1780984409,
    "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": 4563,
    "language": "ko",
    "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/11691929");
$data = json_decode($json, true);
var_dump($data);