JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/819760
json
{
  "response": {
    "steam_id": "90285127432826898",
    "domain": null,
    "id": 819760,
    "ip": "203.141.156.113",
    "port": 8779,
    "query": 28021,
    "color": 0,
    "city": "Chiyoda City",
    "description": "",
    "game": 16900,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777476199,
    "score": null,
    "last_online": 1777495277,
    "icon": null,
    "name": "JPNHQ GB Server #2 (PvE)",
    "connect": "203.141.156.113:8779",
    "request": "203.141.156.113:28021",
    "map": "nv103518891,sp",
    "gamemode": "Ground Branch",
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "JP",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1684363590,
    "last_update": 1777495277,
    "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": 14,
    "language": "ja",
    "parked": false,
    "app": {
      "id": 49744,
      "steam_id": 16900,
      "name": "GROUND BRANCH",
      "url": "ground-branch"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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